看来我也要试试。

钟声 wrote:
> 一般情况下加个
> use utf8;
>
>
> 2009/12/4 Mike.G <[email protected] <mailto:[email protected]>>
>
>     哪位遇到过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 访问该论坛
-~----------~----~----~----~------~----~------~--~---

回复