Rafael Steil wrote:If you need cyrilic support (through unicode), I'd recommed using mysql 4.0.27, as the jdbc driver works well. I have serious problems starting from version 4.1 of mysql (including the 5.x series) with cyrillic data and Java.
Evgeny wrote:Ok thank you, I will try.
?� ???� ��a?� ?� ???� ?�o??�??� ?�o��?�??�� �� AnotherGuest �ۄĄ?�??�a�? ?�o?�?��o???�a ???� ��a?�o��a?�a ??a ?�?�??��?��??�.
Serge Maslyukov wrote:
Evgeny wrote:Ok thank you, I will try.
?� ???� ��a?� ?� ???� ?�o??�??� ?�o��?�??�� �� AnotherGuest �ۄĄ?�??�a�? ?�o?�?��o???�a ???� ��a?�o��a?�a ??a ?�?�??��?��??�.
hz
Evgeny wrote:
Serge Maslyukov wrote:
Evgeny wrote:Ok thank you, I will try.
?� ???� ��a?� ?� ???� ?�o??�??� ?�o��?�??�� �� AnotherGuest �ۄĄ?�??�a�? ?�o?�?��o???�a ???� ��a?�o��a?�a ??a ?�?�??��?��??�.
hz
What is "hz"?
Evgeny wrote:
Serge Maslyukov wrote:
Evgeny wrote:Ok thank you, I will try.
?� ???� ��a?� ?� ???� ?�o??�??� ?�o��?�??�� �� AnotherGuest �ۄĄ?�??�a�? ?�o?�?��o???�a ???� ��a?�o��a?�a ??a ?�?�??��?��??�.
hz
What is "hz"?
Evgeny wrote:?� ?���?� ???� ?���o?�o??a?�.
?�?�??�? ?�o?Ȅ΄�?� ??�??�??o ?�?��??�o?�o?�� ?�a?� ?�?���?�???��?��?� ��a?�?�?�� ?�?� MySQL 3.23.58 ?? 5.x ? ??a?�?�?� ?���?� ?���o?�?�?�??��, o�??�?�???o �? ��a?�?�?�a???�, ??o??�Ą� ?�o�???��΄?�? ?���?� ?�?���?���o?�?� ??a 5.x. ?�o?�?��� ?? ?�??��?���???���?� ?��?��� �ۄ�?�o??o?��?��??o ?�a?� ?�?���?���o?�?��� �? 3.23.58 ?? 5.x ?
Evgeny wrote:I upgraded to MySQL 5.0.
The mysql.properties has this line
dao.driver=net.jforum.dao.mysql.MysqlDataAccessDriver
and all lines in mysql.sql are commented with the "#" mark.
Now I see gibberish after JForum startup.
dbencoding=UTF-8
dbunicode=true
database.connection.string=jdbc:mysql://${database.connection.host}:${database.connection.port}/${database.connection.dbname}?user=${database.connection.username}&password=${database.connection.password}&autoReconnect=true&useUnicode=${dbunicode}&characterEncoding=${dbencoding}&useNewIO=false&zeroDateTimeBehavior=convertToNull&useServerPrepStmts=false
Please advice.
Evgeny wrote:Can you shortly tell me what to do?
I see Russian in the database console, but gibberish in JSP after data read via ConnectorJ.
It worked fine in MySQL 3.23.58
SHOULD I do
create database jj charset=utf8;
instead of
create database jj
?
Evgeny wrote:I'm just curious is there any way to handle UTF-8 via driver parameters and not via
"create database foo charset=utf8;" ?
After "create database foo charset=utf8" the "status" command prints the following:
...
Server version: 5.0.22-log
Protocol version: 10
Connection: Localhost via UNIX socket
Server characterset: latin1
Db characterset: utf8
Client characterset: latin1
Conn. characterset: latin1
Gibberish remains in web browser.