- From: Jungshik Shin <jshin@i18nl10n.com>
- Date: Wed, 5 Nov 2003 23:46:28 +0900 (KST)
- To: public-i18n-geo@w3.org
On Wed, 5 Nov 2003, Jungshik Shin wrote: > On Wed, 5 Nov 2003, Martin Duerst wrote: > > > It can even be typed directly, as: > > > > prompt> perl -pi~ -0777 -e "s/^\xEF\xBB\xBF//s;" filewithbom.html > > Well, this doesn't work with Perl 5.6 or later because in Perl 5.6 > or later, the native representation of characters is UTF-8. Even in Sorry. My memory is fuzzy, but IIRC, in Perl 5.6.x, it should work if your locale is NOT based on UTF-8. In Perl 5.8 or later, it always fails. I can't find any machine with perl 5.6.x and UTF-8 locales installed. Jungshik
Received on Wednesday, 5 November 2003 09:46:30 UTC