#297 set utf8 encoding when setup first time.

v2.3.6
open
nobody
setup utf8 (1)
5
2013-07-16
2013-07-16
AloneSword
No

hi,i'm from chinese.when i use postfixadmin to manage my postfix.when i setup mysql with utf8 encoding. as i change the upgrade.php file as follow:
1、change line 378 :(img 1)
{INNODB} DEFAULT CHARSET=latin1 COMMENT='Postfix Admin - Virtual Vacation' ;";
to
{INNODB} DEFAULT CHARSET={LATIN1} COMMENT='Postfix Admin - Virtual Vacation' ;";
2、change line 202:(img 2)
'{LATIN1}' => '/!40100 CHARACTER SET latin1 /',
to
'{LATIN1}' => '/!40100 CHARACTER SET utf8 /',

after this. when i browse the uri with debug=true ,it's show me error as syntax error(img:3)

i had to change line 378 to follow and it's correct.

i want to know : does it as a bug ? or other means leaf.

1 Attachments

Discussion