Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: UTF-8 to Latin1 - unmatched characters?

by Joost (Canon)
on Mar 20, 2008 at 16:44 UTC ( #675249=note: print w/replies, xml ) Need Help??


in reply to UTF-8 to Latin1 - unmatched characters?

Converting to latin-1 only works if the characters used are actually in the latin-1 character set.

LEFT DOUBLE QUOTATION MARK and EN DASH only look sort of like " and - but they're not the same characters. And you should get a warning trying to convert them

Using numeric entities should work, but I wonder why you're not just encoding the XML file as UTF-8.

  • Comment on Re: UTF-8 to Latin1 - unmatched characters?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://675249]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2019-06-20 19:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Is there a future for codeless software?



    Results (91 votes). Check out past polls.

    Notices?