Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Yet Another UTF8 Issue

by bart (Canon)
on Mar 18, 2004 at 13:39 UTC ( [id://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.

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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://337675]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-04-24 04:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found