Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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
Replies are listed 'Best First'.
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: (7)
As of 2015-07-08 02:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls