Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Database Server Software > MySQL > Unicode support

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-15-03, 01:27
e_sharad e_sharad is offline
Registered User
 
Join Date: Jul 2003
Posts: 2
Unicode support

Hi we are interested in knowing how to store and retrive our multilingual data in MySQL database. Can you please give us detaild information regarding
it. Also if possible we want to know details about platform,language used
etc... _ _
In short we want unicode support in mysql.
please anyone knows send me reply as soon as possible.
Thanks in advance.
Sam
Reply With Quote
  #2 (permalink)  
Old 07-25-03, 11:09
asherh asherh is offline
Registered User
 
Join Date: Jul 2003
Posts: 34
Re: Unicode support

Quote:
Originally posted by e_sharad
Hi we are interested in knowing how to store and retrive our multilingual data in MySQL database. Can you please give us detaild information regarding
it. Also if possible we want to know details about platform,language used
etc... _ _
In short we want unicode support in mysql.
please anyone knows send me reply as soon as possible.
Thanks in advance.
Sam


Hi Sam,

Place the following in your /etc/my.cnf file:


[mysqld]
default-character-set=utf8


and in your JDBC connection parameter list add:

enableUnicode="true"
characterEncoding="UTF-8"

which will ensure you can write and retrieve UTF-8 encoded characters from the database. you may want to use the latest stable release of Connector J from MySQL... I think it is 3.0.8 from memory.

That should work ok

chrs.
Reply With Quote
  #3 (permalink)  
Old 07-25-03, 11:10
asherh asherh is offline
Registered User
 
Join Date: Jul 2003
Posts: 34
Re: Unicode support

Quote:
Originally posted by asherh
Hi Sam,

Place the following in your /etc/my.cnf file:


[mysqld]
default-character-set=utf8


and in your JDBC connection parameter list add:

enableUnicode="true"
characterEncoding="UTF-8"

which will ensure you can write and retrieve UTF-8 encoded characters from the database. you may want to use the latest stable release of Connector J from MySQL... I think it is 3.0.8 from memory.

That should work ok

chrs.


oh yeah, i assume you are using MySQL 4.1 Alpha. Don't think Unicode is supported before that version.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On