特别是模版系统外部变量的process

2009/12/4 Mike.G <[email protected]>

> use utf8;
> 帮你省略decode了。
> 实际上是一个道理。
>
>
> 2009/12/4 Beckheng Lam <[email protected]>
>
> 难道是要像我现在这样,用decode('utf8', xxxx)才能显示正常?
>>
>> Mike.G wrote:
>> > 哪位遇到过TT2的编码问题?
>> >
>> > 举个例子:你的模版文件是utf-8的,但是没有BOM标记。
>> > 当你从数据库里检索出来的数据也是UTF-8的,而且打开了mysql的use-utf8的标记,
>> > 会不会像我一样出现乱码?
>> >
>> >
>> >
>> >
>> >
>> >
>>
>>
>> --
>> Perl乐事 -- http://www.perlersh.org
>> 我的博客 -- http://www.perlersh.org/blog.html
>> 揭谛揭谛,波罗揭谛,波罗僧揭谛,菩提萨婆诃。
>>
>>
>> >>
>>
>

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

回复