Closed GoogleCodeExporter closed 9 years ago
補充,window下的mysql版本是 MySQL 5.0.37-community-nt
linux CentOS 5.2的mysql版本是 MySQL 5.0.45
Original comment by wsc0...@gmail.com
on 10 Dec 2009 at 7:32
我以前在 Windows 上碰到过这个问题。 好像是 Mysql
的字符集问题。
你写个 Main 函数,直接用 JDBC 执行 SELECT * FROM CATEGORY WHERE
name='臺南' LIMIT 0, 1
看看会有什么结果。如果依然查询不到结果,则就是 Mysql
字符集的问题了。
Original comment by zozoh...@gmail.com
on 11 Dec 2009 at 8:08
[deleted comment]
[deleted comment]
[deleted comment]
真的很不好意思,我豬頭,終於發現問題了
當初是用Spring設定applicationContext.xml複製url過來,所以,url長�
��如下:
jdbc:mysql://localhost:3306/myTest?useUnicode=true&characterEncoding=utf-8
可是,使用Nutz的時候,因為是用js檔案,沒有encode的問題,��
�以url長相如下:
jdbc:mysql://localhost:3306/myTest?useUnicode=true&characterEncoding=utf-8
就差在&不需要encode低,浪費大家的時間,真是不好意思~
Original comment by wsc0...@gmail.com
on 15 Dec 2009 at 1:53
Original comment by zozoh...@gmail.com
on 15 Dec 2009 at 4:51
確認
Original comment by wsc0...@gmail.com
on 16 Mar 2010 at 12:46
Original comment by wendal1985@gmail.com
on 13 May 2010 at 10:54
Verified in 1.a.28
Original comment by wendal1985@gmail.com
on 15 May 2010 at 8:29
Verified
Original comment by wsc0...@gmail.com
on 15 May 2010 at 9:17
Original issue reported on code.google.com by
wsc0...@gmail.com
on 10 Dec 2009 at 7:27