Unicode problem with Simplified Chinese

Dar Scott dsc at swcp.com
Sat Sep 27 02:51:01 EDT 2003


On Saturday, September 27, 2003, at 01:31 AM, Dar Scott wrote:

> On Friday, September 26, 2003, at 12:39 PM, Callum Brines wrote:
>
>> put uniEncode(gTagFile,"SimpleChinese") into gTagFile
>>
>> and then write gTagFile to disk.
>>
>> When the tagged file is imported into InDesign,  the Chinese 
>> character E4B88A (UTF8; 4E0A Hex) is appearing as E4B88D (4E0D Hex). 
>> All the other Chinese characters are okay.
>
> 0A?  0D?
>
> Are you writing using file: instead of binfile:?

Sorry.  It's getting late.  The above applies to using URL.  You should 
use binfile.

If you are writing to the file, you should be using binary instead of 
text in 'open file'.

(Your mail header indicates you are on a Mac, so translation of ASCII 
LF to ASCII CR makes sense as the cause.)

Dar Scott




More information about the use-livecode mailing list