[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dos2unix and UTF-8 BOM
Followup to: <Pine.LNX.4.44js.0302170814200.18531-100000@xxxxxxxx>
By author: Jungshik Shin <jshin@xxxxxxxxxxx>
In newsgroup: linux.utf8
>
> > Shouldn't 'dos2unix' be patched to also remove this sequence?
>
> That would be useful. However, that doesn't work very well if multiples
> files are fed to it (e.g. 'cat a b c | dos2unix'). And, that's why
> we all hate UTF-8 BOM ;-).
>
Sure it does. Just remove the UTF-8 "BOM" whereever it appears.
-hpa
--
<hpa@xxxxxxxxxxxxx> at work, <hpa@xxxxxxxxx> in private!
"Unix gives you enough rope to shoot yourself in the foot."
Architectures needed: cris ia64 m68k mips64 ppc ppc64 s390 s390x sh v850 x86-64
--
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/linux-utf8/