Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Yet Another UTF8 Issue

by bart (Canon)
on Mar 18, 2004 at 13:39 UTC ( #337675=note: print w/ replies, xml ) Need Help??


in reply to Yet Another UTF8 Issue

This second file contains one umlaut in ISO-8859-1 encoding. Without this umlaut there is no problem.
Is the encoding decleared in the "<?XML ... ?>" header? Without it, any XML parser assumes, as it must, that the encoding is in UTF-8. The complete, proper declaration for your case would be like this:
<?xml version="1.0" encoding="ISO-8859-1"?>
See this for an explanation of this issue in beginners' terms.


Comment on Re: Yet Another UTF8 Issue
Select or Download Code
Re: Re: Yet Another UTF8 Issue
by stefan k (Curate) on Mar 18, 2004 at 14:05 UTC
    Yes, just as I mentioned in my question, I tried it. And it did nothing to make the warning go away.

    Regards... Stefan
    you begin bashing the string with a +42 regexp of confusion

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (12)
As of 2014-11-28 12:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (196 votes), past polls