Hi,

On 29/04/2013 15:04, steveco.1...@gmail.com wrote:

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.

Yes.

And you also agree that I need to do this to use the Perl string functions?

Yes.

I think confusion arises because sometimes everything works without doing any of this - but that's just a chance coincidence of system settings + data formats, or everything your code ever touches is ASCII.

Regards

Mark


Reply via email to