These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: MySQL Connector.NET and UTF-8 encoding
PostPosted: Mon Nov 06, 2006 5:31 am 
Newbie

Joined: Thu Dec 01, 2005 5:11 am
Posts: 16
Location: Estonia
Hello!

I am experiencing troubles with MySQL 5.0, Connector.NET 1.0.8 and utf8 columns.
I have table named "myuser", with 3 columns:

id int
firstname varchar(50) collation utf8_general_ci
lastname varchar(50) collation utf8_general_ci

Now, I want to edit user details on the form, but i am unable to display characters properly from this table - they get all messed up. For example:

Über comes to Ã?ber or something like this. What should I do?
Connection string is

Server=server;Database=database;User ID=user;Password=password;CharSet=utf8

If I do not specify utf8, all non-ascii characters are replaced with question marks. What to do?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.