Re: Handling £ (pound sterling) symbols in content
by Neil Hughes other posts by this author
Jul 7 2009 10:08AM messages near this date
view in the new Beta List Site
Re: Handling £ (pound sterling) symbols in content
|
Re: Handling £ (pound sterling) symbols in content
& XSLT On 2/7/09 12:50, mirod wrote:
>
> I suspect your data is not in utf-8 (or utf-16). If the pound sign is encoded in
> latin1 (or a windows encoding), then the XML is not well-formed.
>
> You can check that by doing for example iconv -f utf8 -t utf8 myfile.xml If that
> fails, then add an XML declaration with the proper encoding at the top of the
> file or convert it to utf8 (using iconv again).
A bit more investigation proved that it was indeed a Windows encoding
(1252) and the correct declaration fixed the problem. Thanks to everyone
for their suggestions.
--
Neil Hughes
_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Neil Hughes
Mirod
Neil Hughes
Grant McLean
Dave Howorth
Neil Hughes
Dave Howorth
|