What I want to do is add a version string comment at the beginning of .xml
files. I test to see if the file is UNICODE (Encode::Unicode) or ASCII
(Encode::XS) using guess_encoding. My ASCII case works fine but the regexp
for the UNICODE case fails. Below snippet is the code for the UNICODE
On Sep 15, 2005, at 07:05 , Steve Larson wrote:
What I want to do is add a version string comment at the beginning
of .xml
files. I test to see if the file is UNICODE (Encode::Unicode) or
ASCII
(Encode::XS) using guess_encoding. My ASCII case works fine but
the regexp
for the UNICODE