in reply to Remove BOM ?
This little snippet comes from Mojo::JSON:
# Remove BOM $bytes =~ s/^(?:\357\273\277|\377\376\0\0|\0\0\376\377|\376\377|\377 +\376)//g;
Dave
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Remove BOM ?
by GrandFather (Saint) on Oct 02, 2012 at 20:04 UTC | |
by afoken (Chancellor) on Oct 03, 2012 at 11:14 UTC | |
by jdporter (Paladin) on Oct 02, 2012 at 20:22 UTC |
In Section
Seekers of Perl Wisdom