1. Unicode
- Posted by Robert Craig <rds at RapidEuphoria.com> Jun 29, 2006
- 584 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
2. Re: Unicode
- Posted by Tommy Carlier <tommy.carlier at telenet.be> Jun 29, 2006
- 559 views
If you want, you can use my Unicode Library. If it needs changes in the API, just tell me. It can read and write UTF-8 and UTF-16 encoded files, and it comes with a little tool to convert files from ASCII to Unicode and vice versa. It should work cross-platform, because it's 100% pure Euphoria. -- tommy online: http://users.telenet.be/tommycarlier tommy.blog: http://tommycarlier.blogspot.com
3. Re: Unicode
- Posted by Robert Craig <rds at RapidEuphoria.com> Jun 29, 2006
- 578 views
Tommy Carlier wrote: > If you want, you can use my Unicode Library. > If it needs changes in the API, just tell me. > It can read and write UTF-8 and UTF-16 encoded files, and it comes > with a little tool to convert files from ASCII to Unicode and vice versa. > > It should work cross-platform, because it's 100% pure Euphoria. Great. I'll study it when I get around to working on this stuff. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com
4. Re: Unicode
- Posted by Michael Raley <thinkways at yahoo.com> Jun 30, 2006
- 632 views
- Last edited Jul 01, 2006
Tommy Carlier wrote: > > If you want, you can use my Unicode Library. > If it needs changes in the API, just tell me. > It can read and write UTF-8 and UTF-16 encoded files, and it comes > with a little tool to convert files from ASCII to Unicode and vice versa. > > It should work cross-platform, because it's 100% pure Euphoria. > > -- > tommy online: <a > href="http://users.telenet.be/tommycarlier">http://users.telenet.be/tommycarlier</a> > tommy.blog: <a > href="http://tommycarlier.blogspot.com">http://tommycarlier.blogspot.com</a> Yes, I use it to read the windows task scheduler log on XP --"ask about our layaway plan". --
5. Re: Unicode
- Posted by guest at rapideuphoria.com Apr 02, 2004
- 578 views
posted by: (not specified) Hi Kat: When using EuGTK(2) on Linux, Unicode support is built in, and works without a problem, and can accept keyboard input for about 20 languages with a text editor, and/or you can embed the hex chars in your source. The same does not seem to be true of Windows, which is perhaps the result of not having the right fonts - or ? - I don't know. Regards, Irv