Re: unicode in text boxes

new topic     » goto parent     » topic index » view thread      » older message » newer message

Matt Arriola wrote:
> 
> i'm working on a program right now that needs unicode, but all the unicode
> characters
> show up as multiple bytes. can win32lib use unicode?

Win32lib doesn't support Unicode text. There is no reason why not, just
that it hasn't been implemented yet.  There is more to it than just using 
the Wide-Character versions of the API routines too, as all the 
implicit text comparision and storage stuff coded in Euphoria needs to
be changed to handle Unicode.

Fortunately, RDS's smart choice of a 4-byte character width means that
Unicode utf-32 encoding is very simple. But, as Windows uses utf-16
encoding, there needs to be a bit of conversion work going on.

There is a excellent Unicode library, developed by IBM, as an Open
Source project, and implemented as some DLLs, that would be useful as
a starting point.

-- 
Derek Parnell
Melbourne, Australia

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu