[PerlChina] 关于如何把文本文件转化为Unicode的问题

cnhack TNT cnhacktnt at gmail.com
Sun Jul 16 19:22:49 PDT 2006


读写的时候 binmode 一下文件句柄吧:-)

On 7/12/06, Uliyas Fan <uliyas at gmail.com> wrote:
>
>
> 我需要从一个Unicode编码的文本文件中读出几行,然后再写成用unicode编码的另一个文件,该怎么做啊,我写完的程序总是不符合unicode的格式标准。那位大侠能给个提示啊。
>
> 另外,为什么我用Gmail收到的邮件大部分都显示乱码呢?
>
> --
> 樊闻斌
>
>
> _______________________________________________
> China-pm mailing list
> China-pm at pm.org
> http://mail.pm.org/mailman/listinfo/china-pm
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/china-pm/attachments/20060717/ae24fbd2/attachment.html 


More information about the China-pm mailing list