Page 1 of 1

Converting from utf-8 to \u format

Posted: Sun Oct 24, 2004 7:02 pm
by Alireza Fattahi
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

Posted: Fri Oct 29, 2004 1:47 pm
by DataMystic Support
Hi Alireza,

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

Posted: Fri Oct 29, 2004 3:45 pm
by DataMystic Support
It looks like this:

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