<steveco.1...@gmail.com> writes:

> So you are saying that if I change
>
>       $var = decode("utf8",$row->{ATT_BOOKING_COMMENT_TXT}) ;
>
> to 
>
>       $var = decode("utf8",$row->{ATT_BOOKING_COMMENT_TXT}) ;
>       utf8::upgrade($var );
>
> it will be more resilient and cater for more cases than just the decode
> option.

utf8::upgrade should have no effect after the decode. If it is
necessary for some reason, there's a bug or coding error.

Do you have an sample case that malfunctions without the upgrade call?

(In general, the utf8:: functions should never be necessary.)

-- Johan

Reply via email to