Hi List,

I've created an alpha version of "Unicode-Class", a simple but efficient
parent script for handling Unicode text with lingo. It's still quite
rough, and not optimized for speed yet.

It can be used to
- convert single-byte text encoded with any given codepage to Unicode or
UTF-8 text
- convert Unicode or UTF-8 text to single-byte text with given codepage
- convert single-byte text from one codepage to another (like e.g. Win
ANSI to Mac Roman)
- convert single-byte text encoded with any given codepage to Unicode
HTML (non-asci-chars escaped as &#xxxx;) that can be passed to a flash
sprite or an embedded browser: This way lingo can handle and pass
Unicode strings, no JavaScript needed)

The included demo (dir and projector) demonstrates usage for conversion
from KOI8 (cyrillic) to Unicode/UTF-8 and v.v.
There are also arround 100 codepage-map-files included

Bug reports welcome. There isn't much platform-specific in the script,
but I havn't tested it on the mac yet.

Valentin

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[email protected]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to