lua-users home
lua-l archive

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

On Thu, Oct 16, 2008 at 1:05 PM, V S P <> wrote:

> On the other hand, I am looking at it -- what if the text was
> created by a UTF-8 capable editor, would that editor do exactly
> the same thing as the web page: 0xC2A0? and if yes, then
> my compiler should support it.

No.  A space in UTF-8 is encoded as a single byte, 0x20.  More
generally, ASCII characters are unchanged when encoded as UTF-8.

-- James