Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Malformed UTF-8 character

by eff_i_g (Curate)
on Apr 29, 2011 at 20:07 UTC ( #902062=note: print w/ replies, xml ) Need Help??


in reply to Malformed UTF-8 character

0xB0 itself ("") is invalid UTF-8; the proper encoding is 0xC2 0xB0 ("°"). Therefore, the file was not properly written to as UTF-8, and thus the error when you try to open it as such.


Comment on Re: Malformed UTF-8 character
Re^2: Malformed UTF-8 character
by Steve_BZ (Hermit) on Apr 30, 2011 at 20:02 UTC

    Thanks for your help both the solutions described here worked. The "°" and the setting the file-encoding setting, which I guess achieved the same thing.

    Regards

    Steve

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2014-09-30 23:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (386 votes), past polls