[Mono-aspnet-list] CentOS 5.3 encoding problem

perplexor perplexor at mail.ru
Tue Jun 23 07:03:14 EDT 2009


Hello Everyone! :-)

We are experiencing some problems with encoding. The system is CentOS 5.3
with MONO 2.0. MySQL ODBC connector version is 5.1.5-0. unixODBC version is
updated to 2.2.12 for this connector. So all prerequisites should be met.

The problem is that input of new records from the application is not in
proper form in the database. They are displayed as mish mash. Old imported
records are properly displayed in both database and web app.
So, obvoiusly, there is a problem with the session and sending of data.
Everything is set to UTF-8.
The my.cnf is as follows:

[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
old_passwords=1
init_connect='SET collation_connection = utf8_unicode_ci'
init_connect='SET NAMES utf8'
default-character-set=utf8
collation_server=utf8_unicode_ci
character_set_server=utf8
skip-character-set-client-handshake

[client]
default-character-set=utf8

[mysql]
default-character-set=utf8 

[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid 


We've tried everything and think about trying out with NET connector.

Please, any ideas? 
Thank you in advance for helping!
-- 
View this message in context: http://www.nabble.com/CentOS-5.3-encoding-problem-tp24163887p24163887.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.



More information about the Mono-aspnet-list mailing list