On 9/7/07, Matt Lawrence <[EMAIL PROTECTED]> wrote:
> 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'.

This was a good hint:
* __utf8::upgrade__ on the string worked
* __use utf8;__ worked too
* when using __use encoding..__, Activestate Perl crashed
So, the byte/character handling is the clue.
Thanks, Stefan

_______________________________________________
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/

Reply via email to