Hi,lists, I have a file looking as below:
<[EMAIL PROTECTED]> 145K179B 璧����搴? <[EMAIL PROTECTED]> 171K122B ���璇� <[EMAIL PROTECTED]> 28K904B ���K60830 <[EMAIL PROTECTED]> 243K600B ��规�����寮���������? <[EMAIL PROTECTED]> 178K626B 运筹学3 <[EMAIL PROTECTED]> 743K348B 寮���� <[EMAIL PROTECTED]> 182K406B 璧���� <[EMAIL PROTECTED]> 43K393B ���������浠� <[EMAIL PROTECTED]> 249K335B 灞辫タ�����ラ��璧���? as you see, the third column is coding with utf8,so it can't print output correctly on my screen.I have try these methods: binmode(STDOUT, ":encoding(gbk)"); or binmode(STDOUT, ":encoding(gb2312)"); or use Encode; $subject = encode("gb2312", $subject); or use Encode; $subject = encode("gbk", $subject); but all these ways can't work correctly for me. Can anyone here help me?Thanks a lot.