Hi,
Perhaps this is not the right forum to ask this (it depends how strict you are), but still I think it's useful for a perl programmer to know how to do this without perl.
The question is: is there any unix/linux command that tells me the encoding format of an xml file?
I've got xml files that don't claim any particular encoding (<?xml version="1.0" ?>). They are in UCS-2LE but I need to have them in UTF-8 or ANSI.
This time I could see the encoding opening them in an editor but it would be much handier to check from the command line. The "file" command only tells me "XML document text"
Cheers and thanks a lot!
xinelo
In reply to Re^2: How to check the encoding format of an XML
by Anonymous Monk
in thread How to check the encoding format of an XML
by rellaboyina
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |