
Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tlug] unicode and Perl
- Date: Mon, 13 Feb 2006 13:33:40 +0900
- From: David Riggs <dariggs@example.com>
- Subject: Re: [tlug] unicode and Perl
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US;rv:1.7.7) Gecko/20050420 Debian/1.7.7-2
Steve S wrote
>
> Somehow your suggested utf8::decode($x) only returns a "1", presumably
> for success, and I do not see how to get it to return the value.
>
--Typically I see this happen when the function returns an array. You're
seeing the number of variables in the returned array probably. Try
@example.com = xxx()
and see what happens.------
I did try that, but even the array is just "1".
By the way, I thought that the use Encode 'decode_utf8'; $a =
decode_utf8($xxx) was working, but it does not always handle the
characters properly-- sometimes its OK and sometimes not.
Clearly I do not understand what is happening here, and with unicode,
there is the constant danger that things appear to work for simple cases
but actually when you get into something more typical you are messed up.
Thanks for the suggestion!
David
Home |
Main Index |
Thread Index