2011年1月14日星期五

[fw-db] Sqlite utf 8

Hi,
sorry to bother you.
I'm wondering if using utf 8 in sqlite
is the same of mysql therefore it's enough
set this lines in application.ini
resources.db.adapter = "PDO_SQLITE"
resources.db.params.dbname = APPLICATION_PATH "/../data/db/guestbook.db"
resources.db.params.charset = UTF8
resources.db.isDefaultTableAdapter = true

or I should do a query in my bootstrap like
PRAGMA encoding = "UTF-8";

BTW where does zf do the work (I mean in which class) ?

Bye.

--
View this message in context: http://zend-framework-community.634137.n4.nabble.com/Sqlite-utf-8-tp3217424p3217424.html
Sent from the Zend DB mailing list archive at Nabble.com.

没有评论: