On 5/7/02 11:06 AM, Rafael Garcia-Suarez wrote:
> The workaround I used is to write the handler like this :
>
> sub xml_char
> {
> my ($expat) = @_;
> $buffer .= $expat->original_string;
> }
>
> Reading the original string, no need to convert UTF-8 back to iso-8859-1.Doh! I dunno why I didn't think of that, since I've used that expat method plenty of times before. This seems safer than forcing a conversion from UTF-8 to something else (although the other technique is nice to know too :) -John
