good chemistry is complicated,
and a little bit messy -LW
Malformed UTF-8 characterby Steve_BZ (Hermit)
|on Apr 29, 2011 at 19:53 UTC||Need Help??|
Steve_BZ has asked for the
wisdom of the Perl Monks concerning the following question:
I seem to have a strange encoding bug when I use degrees C written like this: °C.
I have a function t("°C") which gives me an interpreter error:
Malformed UTF-8 character (unexpected continuation byte 0xb0, with no preceding start byte)
with double quotes. When I use single quotes, I get no interpreter error, but the function fails at the first database call. If I step through the code, the code hangs. If I execute it, I get a database error.
I'm using the statements:
Any insight gratefully received.