lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Jun 29, 2011, at 9:23 PM, David Kolf wrote:

> I guess the problem is that most tables only tell you the codepoint but
> not the UTF-8 encoding.

Get a better table ☺

http://www.fileformat.info/info/unicode/char/2192/index.htm
http://www.isthisthingon.org/unicode/index.phtml
http://www.utf8-chartable.de/
etc, etc, etc…

Some operating systems offer built-in lookups as well, e.g. Mac OS X, under Edit → Special Characters… provides both name, unicode and utf8 encoding at your finger tip.  

No point in inventing a new wheel for something so trivial.

On the other hand, if Lua provided full unicode support across the board for all string operations it would be as bloated as ICU… better leave such choice to the language user in the form of a third party library instead of pushing it on everyone through the language itself…   

Just my 2¢ ☺