Uniencode fails on some chars

Kenji Kojima webart at kenjikojima.com
Tue Apr 29 01:57:01 EDT 2003

Hi Ron,

I think these are only Windows special characters.
We cannot show many of special characters by using Unicode.

Open MOJI palette of Kotoeri (form Kotoeri menu)
and see SJIS 8640. There are no characters of unicode, even SJIS.
You can show SJIS 8642 by HIRAGINO font, but not in Osaka.

This page may help too.

Kenji Kojima

On 2003.Apr.29, at 12:30  AM, Ron wrote:

> Hi
> Just for the record in case this trips up someone else. I ran into a 
> problem
> with converting some files with uniencode. Once I read in the text I 
> try:
> set the unicodetext of fld 1 to uniencode(thetext,Japanese)
> The conversion works fine except for some unusual chars. The chars 
> that my
> text used were the 'mm' and 'cm' as single chars. The data was 
> originally
> prepared on a Windows machine so these special chars do not map 
> correctly to
> Osaka but will show up with a font like 'ChyuGothicTai'. (this latter
> problem is not RR, but mac/win)
> JIS code: 2B21  and 2B23
> SJIS : 8640 and 8642
> UTF8: 339C and 339D
> I imagine that whole set of chars will give problems.
> The problem is that uniencode stops encoding at that char and does not
> return the remaining data.
> OS 9.2.2 RR 2.0 b2
> thanks
> Ron
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution

More information about the use-livecode mailing list