Re: Unicode Euphoria?
- Posted by Bernie Ryan <xotron at bluefrog.com> Apr 23, 2007
- 490 views
Aku wrote: > > Since now Euphoria is already open source, is there any plan to make > Eu 100% unicode compatible? > > In my mind, looks like we can make Eu unicode enabled by doing > the following: > > 1. replace built-in functions open(), dir(), puts() and so on > with the unicode equivalent e.g. override open() with own function > such as calling the win32 API (forget dos and linux, no real > unicode support) > > 2. unfortunately we can't override built-in library functions (like get.e) > as easy as built-in functions, so the std lib files need to be modified > (e.g. get_bytes) > > 3. edit optional libraries like win32lib to use the unicode version > of the win32 API > > which means we do not need to edit Eu interpreter/compiler source > code at all. > > Is that correct? > > Anyone interested in having Eu support unicode? Hi Aku UNICODE procedures/functions are a part of windows already. All you need to due is wrap the procedures/functions that you want to use. All unicode procedures/functions names end with a "W". Bernie My files in archive: WMOTOR, XMOTOR, W32ENGIN, MIXEDLIB, EU_ENGIN, WIN32ERU, WIN32API Can be downloaded here: http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan