Re: Unicode in Source code
- Posted by jimcbrown (admin) May 13, 2013
- 1147 views
SocIoDim said...
Problem: Euphoria only accepts ASCII source files. UTF16 or UCS2 files are blatantly rejected because of the null (0) bytes embedded, and that byte is considered an illegal character by the scanner. UTF-8 encoding is widely used since it maintain compatibility with ASCII, but unfortunately the bytes 128-255 is reserved for (strange) shrouding that was used during commercial days of Eu.
Actually, this is no longer entirely true. Current versions of Euphoria no longer reserve bytes 128-255, and UTF-8 encoded files are supported as source code.