Unicode problem with Simplified Chinese
Callum Brines
cb at callum.demon.co.uk
Fri Sep 26 12:54:01 EDT 2003
Hi people
I have been very happy using Rev in a variety of projects over the last
two years, but have come across a problem which I hope someone can help
me with.
I am using Rev to build a tagged text file containing a mixture of
English and simplified Chinese for importing into InDesign. The
original text files are output from a database and saved as MS Word
files. I open the file in Word and copy and paste the contents into a
field in Rev for processing. All the Chinese characters appear
correctly in the Word file and also when pasted into Rev. My program is
not changing any of the Chinese characters, just formatting the text by
adding InDesign tags for typesetting. After processing the file I end
up with a tagged file and use the uniEncode function as follows:
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.
Can anyone verify this for me? Is this a bug?
Rev 2.02, OSX 10.2.6.
Many thanks
Callum
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 1194 bytes
Desc: not available
URL: <http://lists.runrev.com/pipermail/use-livecode/attachments/20030926/0a341701/attachment.bin>
More information about the use-livecode
mailing list