[Catalyst] TT and UNICODE: Garbled special characters

Matt Lawrence matt.lawrence at ymogen.net
Fri Sep 7 16:00:39 GMT 2007


Stefan Kühn wrote:
>    GERMAN UMLAUT HERE: ___\xFC\xFC\xFC___
>   
AFAIK, single-byte-width \xxx escapes are always treated as bytes, not
as characters. Even if they are outside the 7-bit range, and even in the
presence of the utf8 pragma.

Try inserting real Unicode characters into the string, explicitly
upgrading the string using utf8::upgrade or utf8 or use encoding 'latin1'.

Matt




More information about the Catalyst mailing list