db_data.dba localization problem

Author Message

qian chao

Tuesday 21 March 2006 6:16:48 pm

Hi,
I tried to change something in db_data.dba to chinese character, so whenever I create a new site in wizard , I can get a localized name field in the table of ezcontentclass.
but the character never store in the right encoding in mysql.
I have try using 'mysql -u ezp -p ezp < some_script_update_name_field_in_ezcontentclass'
and it works.

e.g

SET NAMES 'gbk'
update ezcontentclass set name='chinese character' where id='1' and version='0'
update ezcontentclass set name='chinese character' where id='2' and version='0'

is it by design or a bug only supporting ascii in db_data.dba ?
btw, the same thing happened with \packages\addons\...\ezcontentobject\...xml file.

thanks a lot

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.