那就像他们说的,用Encode模块。 ;-)

Jumping wrote:
> 不行的,很多都是乱码
>
> 2009/1/9 Beckheng Lam <[email protected]>:
>   
>> 貌似这样的话,不需要编码转换了吧。直接搬过去? :-\
>>
>> Jumping wrote:
>>
>> 其实,真正的问题是这样的:
>>
>> 我现在有两个postgresql,一个是8.1.9,编码是Latin1;另外一个是8.3.1,编码是UTF8。现在想把8.1.9上面的数据搬到8.3.1上面。
>>
>> 2009/1/9 riverlee <[email protected]>:
>>
>>
>> 昨天刚用到这个模块,在cu上搜的,嘻嘻!
>>
>> 2009/1/9 Fayland Lam <[email protected]>
>>
>>
>> perldoc Encode
>> see if that's what you want.
>>
>> Thanks.
>>
>> 2009/1/9 Jumping <[email protected]>:
>>
>>
>> 我想把文件的编码从LATIN1 转换到 UTF8,不知道各位有什么提示?
>>
>>
>> Best Regards,
>> Jumping Qu
>> ------
>> Don't tell me how many enemies we have, but where they are!
>> (ADV:Perl -- It's like Java, only it lets you deliver on time and under
>> budget.)
>>
>>
>>
>> --
>> Fayland Lam // http://www.fayland.org/
>> Foorum based on Catalyst // http://www.foorumbbs.com/
>>
>>
>>
>>
>> --
>> -------------------------------
>>                 ,,__
>>        ..  ..   / o._)
>>    /--'/--\  \-'||      riverlee(李江)   Email:[email protected]
>>   /  perl   \_/ /     Harbin Medical University            Bioinfomatics
>> .'\  \__\  __.'.'      Msn:[email protected]
>>   )\ |  )\ |            Blog:http://riverlee2008.blogspot.com
>>  // \\ // \\
>> ||_  \\|_  \\_
>>    -' '--'' '--'
>> -------------------------------
>>
>>
>>
>>
>>
>>
>>
>> --
>> Perl乐事 -- http://www.perlersh.org
>>
>>     
>
>
>
>   


-- 
Perl乐事 -- http://www.perlersh.org


--~--~---------~--~----~------------~-------~--~----~
您收到此信息是由于您订阅了 Google 论坛“PerlChina 论坛”论坛。
 要在此论坛发帖,请发电子邮件到 [email protected]
 要退订此论坛,请发邮件至 [email protected]
 更多选项,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问该论坛
-~----------~----~----~----~------~----~------~--~---

回复