On Sat, Jan 29, 2011 at 9:46 PM, Shawn H Corey wrote:
> On 11-01-29 03:27 AM, xiaolan wrote:
>>
>> Hello,
>>
>> I'm not much sure what's the difference between the two statements below?
>>
>> use encoding 'utf8';
>> use utf8;
>>
>> I have read their documents but not very understandful.
>>
>> Than
On 11-01-29 03:27 AM, xiaolan wrote:
Hello,
I'm not much sure what's the difference between the two statements below?
use encoding 'utf8';
use utf8;
I have read their documents but not very understandful.
Thanks.
`use utf8;` tells the compiler that the script is written in UTF-8.
That's a
Hello,
I'm not much sure what's the difference between the two statements below?
use encoding 'utf8';
use utf8;
I have read their documents but not very understandful.
Thanks.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
ht
I have resolve this problem,as:
$subject = encode("euc-cn", decode("utf8", $subject));
Sorry for bothering.
在 05-11-30,Jeff Pang<[EMAIL PROTECTED]> 写道:
> Hi,lists,
>
> I have a file looking as below:
>
> <[EMAIL PROTECTED]> 145K179B 璧搴?
> <[EMAIL PROTECTED]>
Hi,lists,
I have a file looking as below:
<[EMAIL PROTECTED]> 145K179B 璧搴?
<[EMAIL PROTECTED]>171K122B ���璇�
<[EMAIL PROTECTED]> 28K904B ���K60830
<[EMAIL PROTECTED]> 243K600B ��规�寮�?
<[EMAIL PROT
On 9/14/05, Jeff Pan <[EMAIL PROTECTED]> wrote:
> HI,
>
> I want to translate some utf8 characters to appropriate characters.I use
> utf8 module,but it seems to work uncorrectly.
>
> This is the code:
>
>
> use utf8;
> #if (utf
HI,
I want to translate some utf8 characters to appropriate characters.I use
utf8 module,but it seems to work uncorrectly.
This is the code:
use utf8;
#if (utf8::valid($subject))
if (Encode::is_utf8($subject))
{