Quantcast
Channel: Adobe Community : Unanswered Discussions - ColdFusion
Viewing all articles
Browse latest Browse all 5794

convert xml Cp1252 tot UTF-8

$
0
0

My site imports an xml file which is encoded in Cp1252 from a windows machine. But when i try to parse it I get the following error "Invalid encoding name Cp1252". Somehow my site which is a Linux machine can't read it.

 

Does anyone know how to resolve this?

 

My solution was converting it tot UTF-8. Changing the encoding attributes to UTF-8 does the trick but not on all xml files. Every now en then it runs into a character it doesn't know. Does anybody know how tot convert de character tot UTF-8 using coldfusion (11).


Viewing all articles
Browse latest Browse all 5794

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>