Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

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.

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?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2022-06-28 06:35 GMT
Find Nodes?
    Voting Booth?
    My most frequent journeys are powered by:

    Results (90 votes). Check out past polls.