[EMAIL PROTECTED] said:
> I have a UTF-8 string which I want to output as ascii and have the UTF8
> characters converted to numeric character references.
>
> I tried using Encode with the FB_HTMLCREFS fail back option enabled,
> but for the 2 byte UTF8 characters, 2 incorrect char refs were printe
Aaron Siladi <[EMAIL PROTECTED]> writes:
>I have a UTF-8 string which I want to output as ascii and have the UTF8
>characters converted to numeric character references.
>
>
>
>I tried using Encode with the FB_HTMLCREFS fail back option enabled, but for
>the 2 byte UTF8 characters, 2 incorrect char
Ok so that should work given the string has utf8 flag set.
I guess the problem may be that my string doesn't have it set.
I'm getting the string as output from XML::DOM::Document->toString, so I
should investigate with that module why isn't setting the utf8 flag.
Thanks
Aaron
-Origina