[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua interpreter and Lua files encoding
- From: Miles Bader <miles@...>
- Date: Thu, 06 Jan 2011 15:02:54 +0900
Javier Guerra Giraldez <javier@guerrag.com> writes:
> UTF8 was specifically formulated so that a multi-octet character can't
> be mistaken for ASCII characters. to ensure that, every octet has the
> eight bit set.
Yup, utf8 is a very clever encoding, and tends to "just work" unless the
app goes to some lengths to screw it up (which lua doesn't of course --
lua generally works fine with utf8 content).
[Some apps _do_ manage to screw it up though, e.g., MS Visual
Studio/VSC++ ...]
-Miles
--
Somebody has to do something, and it's just incredibly pathetic that it
has to be us. -- Jerry Garcia