Converting from utf-8 to \u format

Get help with installation and running here.

Moderators: DataMystic Support, Moderators, DataMystic Support, Moderators, DataMystic Support, Moderators

Post Reply
Alireza Fattahi

Converting from utf-8 to \u format

Post 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
User avatar
DataMystic Support
Site Admin
Posts: 2227
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Post by DataMystic Support »

Hi Alireza,

Drop me an email and I will send it to you.
User avatar
DataMystic Support
Site Admin
Posts: 2227
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Post 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]
|
Post Reply