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

Re: UTF-8 in jessie

Florian Lohoff <f <at> zz.de> writes:

> 5. All programs consuning UTF8 Text must understand a BOM.

The kernel doesn’t, start there:

tglase@tglase:~$ mksh -c 'print '\''\ufeff#!/bin/sh\necho foo'\' >x; chmod +x
x; ./x
./x: line 1: #!/bin/sh: No such file or directory

That’s running GNU bash, with bash as /bin/sh for testing, which deviates
from my normal setup of running mksh… because I fixed mksh to support this
(and the MirBSD kernel, too).

I disagree with requiring ASCII for $PATH though…


Reply to: