tech-userlevel archive

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

Re: Alternative to hash-bang



On Jul 19, 2014 4:00 PM, "Steffen Nurpmeso" <sdaoden%yandex.com@localhost> 
wrote:
>
> And because of this last part again i finally come the conclusion
> that the UTF-8 BOM will become a vivid part of the future, because
> it carries information of a file's encoding along with the file as
> a part of the encoding itself.

UTF8 BOMs are only really used on Windows due to its UTF16 heritage. I have
never seen them used on a Unix system. That is probably why Perl added
support. That should not mean the use should be encouraged.

> The real question is: what should be done with BOMs in `$ cat f1
> f2 > f3', they cannot simply become stripped off?
>

Write a utfcat command?


Home | Main Index | Thread Index | Old Index