Converting from utf-8 to \u format

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

Alireza Fattahi

Converting from utf-8 to \u format

Postby 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: 2154
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Postby 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, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments

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

Postby 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, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments


Return to “TextPipe Tips and Tricks, Questions and Support”

Who is online

Users browsing this forum: No registered users and 4 guests