1. RE: Dumb question
- Posted by Matthew Lewis <matthewwalkerlewis at YAHOO.COM> Apr 10, 2002
- 380 views
> -----Original Message----- > From: axtens_ at mac.com [mailto:axtens_ at mac.com] > Not having access to my Euphoria docs, I have to ask ... > > What support for Unicode is there in Euphoria? I will fairly > soon start > porting over some documents written on Macintosh computers (just the > data fork) to an Unicode encoding for use in win2k+msoffice. > Will I be > able to use Euphoria for the conversion tools? Depends on what you want to do. You won't be able to print anything directly using puts/printf/etc. It's possible to use the Unicode functions in windows to do things, however. Basically, unicode characters are 2 bytes long. If you take a look at my EuCOM package, there's a file in there called unicode.ew, which will convert between ANSI and unicode. It looks at unicode strings as a sequence of bytes, rather than a sequence of words (2-bytes). Matt Lewis