lua-users home
lua-l archive

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


Hi:



On Sat, Feb 22, 2014 at 1:33 AM, Philipp Janda <siffiejoe@gmx.net> wrote:

> .......But in times of UTF-8 and the internet it
> is better to open your files in binary mode anyway where it will definitely
> show up ...

UTF-8 is carefully designed to be able to be used with 8bit-char ASCII
based runtimes without problems. This means if your programs are
writen to cope with latin1 and similar stuff you can use UTF-8 in it,
they may not give pretty output, but will not barf.  IIRC the linux
kernel does not use utf-8, but you can name your files in them, they
just pass-thru, as UTF8 preserves ASCII range and does not use any
ASCII byte value when composing.

Francisco Olarte.