Unicode
- Posted by Robert Craig <rds at RapidEuphoria.com> Jun 29, 2006
- 583 views
For Unicode, it seems to me Euphoria has a distinct advantage over other languages since strings are just sequences, and the elements of a sequence can be very large numbers. (Integers can be more than 31 bits. More like 52 bits). Built-ins like find() and match() are already very general. They are not limited to strings, let alone strings containing 8-bit characters. Some builtins do assume 8-bit characters, e.g. puts(), gets(), dir() and a couple of others. A Euphoria library could override these using Euphoria-coded routines that support Unicode. The library could call Windows or Linux/FreeBSD C routines that support Unicode. Perhaps someone could create such a thing, and eventually I could build it into Euphoria's C-coded runtime routines. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com