MySQL AND UNICODE

A

Amir Alilou

HI
How we can store UNICODE characters/strings in MySQL databases and then
use this character/string in the web with ASP.NET +VB.
for example in MSSQL SERVER we use literal "N" when we use INSERT INTO
query.but in MySQL i dont know how to store unicode characters in
database.

Plase help me with sample
thanks
 
P

pvdg42

Amir Alilou said:
HI
How we can store UNICODE characters/strings in MySQL databases and then
use this character/string in the web with ASP.NET +VB.
for example in MSSQL SERVER we use literal "N" when we use INSERT INTO
query.but in MySQL i dont know how to store unicode characters in
database.

Plase help me with sample
thanks
You may find the samples included with this article helpful.

http://msdn2.microsoft.com/zh-cn/library/system.text.unicodeencoding(VS.71).aspx
 
A

Amir Alilou

J

Jean-Marc St-Hilaire

You have to define the character set of our tables as UTF8 or ucs2.

If you are working on already created tables, beware of the character
set of each VARCHAR field.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top