Converting from utf-8 to \u format

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

Post Reply
Alireza Fattahi

Converting from utf-8 to \u format

Post by Alireza Fattahi » Sun Oct 24, 2004 7:02 pm

Hi,

Is there any convertion on Text Pipe wich can convert a UTF-8 text to the \u forms. To explain more, We have some files which are saved as UTF-8 in windows notepad. We found some problems on diplaying this file in different browsers. If we convert each charater to some thing like this (\u0641\u0631\u0645) The page will be dispalyed successfuly.

So is this convertion available in Text Pipe? Which convertion should I use?

Regrads,
Alireza Fattahi

User avatar
DataMystic Support
Site Admin
Posts: 2203
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Post by DataMystic Support » Fri Oct 29, 2004 1:47 pm

Hi Alireza,

Drop me an email and I will send it to you.
Regards,

Simon Carter, https://www.DataMystic.com
https://www.JadeDiabetes.com - Insulin dose calculator for Type 1 diabetes
https://www.DownloadPipe.com - 250,000 free software downloads

User avatar
DataMystic Support
Site Admin
Posts: 2203
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Post by DataMystic Support » Fri Oct 29, 2004 3:45 pm

It looks like this:

|--Convert from UTF-8 to UTF-16BE
|
|--Hex Encode
|
|--Restrict to blocks of length 4
| |
| +--Add header [\U]
|
Regards,

Simon Carter, https://www.DataMystic.com
https://www.JadeDiabetes.com - Insulin dose calculator for Type 1 diabetes
https://www.DownloadPipe.com - 250,000 free software downloads

Post Reply