lua-users home
lua-l archive

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


On Fri, Jun 10, 2011 at 2:49 AM, Tom N Harris <telliamed@whoopdedo.org> wrote:
> Just please don't use the BOM.

Even I know that's an abomination ;)

The best approach seems as you suggest: to set an encoding on the Lua
side and stick to it; meanwhile the library works in UTF-16 (or UCS-2
if it's being retarded ;)).

BTW, anybody have experience with the Lua string library working with
widechar strings? At least within the confines of the BMP they have a
regular concept of 'character'.

steve d.