473,398 Members | 2,125 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Japanese in MySQL

Hi,

I am developing a vocabulary trainer.
The languages I want to support are German and Japanese.
When I try to store Japanese characters in my mysql database, I do not
get the correct characters. The entry of the field is "???" instead of
the Japanese character. I tried to store the character with my java
application and with the MySQL Control Center. I know I have to
configure the mysql database. But I do not know how. I created my
database with the following sql statements:

CREATE TABLE vocab
(
Japanese VARCHAR(100) CHARACTER SET utf8,
German VARCHAR(100) CHARACTER SET utf8
);

But this did not work.
I hope you can help me, because I have a lot of Japanese words to
learn ;-)

Ciao
Keitaro
Jul 19 '05 #1
3 5120
How can you store Japanese as UTF 8? Japanese is a two bit character set,
so each Japanese character will take 2 bits, as opposed to Latin, which
takes one bit. So you'd have to explicitly set that field to accomodate
that by choosing the right character set.
"Keitaro" <ke*******@yahoo.de> wrote in message
news:3e**************************@posting.google.c om...
Hi,

I am developing a vocabulary trainer.
The languages I want to support are German and Japanese.
When I try to store Japanese characters in my mysql database, I do not
get the correct characters. The entry of the field is "???" instead of
the Japanese character. I tried to store the character with my java
application and with the MySQL Control Center. I know I have to
configure the mysql database. But I do not know how. I created my
database with the following sql statements:

CREATE TABLE vocab
(
Japanese VARCHAR(100) CHARACTER SET utf8,
German VARCHAR(100) CHARACTER SET utf8
);

But this did not work.
I hope you can help me, because I have a lot of Japanese words to
learn ;-)

Ciao
Keitaro

Jul 19 '05 #2
How can you store Japanese as UTF 8? Japanese is a two bit character set,
so each Japanese character will take 2 bits, as opposed to Latin, which
takes one bit. So you'd have to explicitly set that field to accomodate
that by choosing the right character set.
"Keitaro" <ke*******@yahoo.de> wrote in message
news:3e**************************@posting.google.c om...
Hi,

I am developing a vocabulary trainer.
The languages I want to support are German and Japanese.
When I try to store Japanese characters in my mysql database, I do not
get the correct characters. The entry of the field is "???" instead of
the Japanese character. I tried to store the character with my java
application and with the MySQL Control Center. I know I have to
configure the mysql database. But I do not know how. I created my
database with the following sql statements:

CREATE TABLE vocab
(
Japanese VARCHAR(100) CHARACTER SET utf8,
German VARCHAR(100) CHARACTER SET utf8
);

But this did not work.
I hope you can help me, because I have a lot of Japanese words to
learn ;-)

Ciao
Keitaro

Jul 19 '05 #3
How can you store Japanese as UTF 8? Japanese is a two bit character set,
so each Japanese character will take 2 bits, as opposed to Latin, which
takes one bit. So you'd have to explicitly set that field to accomodate
that by choosing the right character set.
"Keitaro" <ke*******@yahoo.de> wrote in message
news:3e**************************@posting.google.c om...
Hi,

I am developing a vocabulary trainer.
The languages I want to support are German and Japanese.
When I try to store Japanese characters in my mysql database, I do not
get the correct characters. The entry of the field is "???" instead of
the Japanese character. I tried to store the character with my java
application and with the MySQL Control Center. I know I have to
configure the mysql database. But I do not know how. I created my
database with the following sql statements:

CREATE TABLE vocab
(
Japanese VARCHAR(100) CHARACTER SET utf8,
German VARCHAR(100) CHARACTER SET utf8
);

But this did not work.
I hope you can help me, because I have a lot of Japanese words to
learn ;-)

Ciao
Keitaro

Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: David Thomas | last post by:
Hi there, a while ago, I posted a question regarding reading japanese text from a text file. Well, since I solved the problem, I thought I'd post my solution for the benefit of other people with...
0
by: abarr03 | last post by:
I am using cold fusion to make a small custom website using mysql to store the information a user inputs. I want it to be able to save japanese and unicode text, but whenever I enter any it comes...
0
by: Keitaro | last post by:
Hi, I am developing a vocabulary trainer. The languages I want to support are German and Japanese. When I try to store Japanese characters in my mysql database, I do not get the correct...
1
by: Sven Hanefeld | last post by:
Hi, who is able to help. I want to translate my whole website into japanese language. www.nord-com.net/hanefeld What do I have to do except finding a japanese guy for the translation. Do I...
21
by: Doug Lerner | last post by:
I'm working on a client/server app that seems to work fine in OS Firefox and Windows IE and Firefox. However, in OS X Safari, although the UI/communications themselves work fine, if the...
0
by: marcin | last post by:
I have problems with inserting Japanese chars into MySQL database. This operation results in two completetely different strings that I can see via phpMyAdmin: $word: SELECT word FROM table;...
2
by: Shinya | last post by:
I am using phpMyAdmin to see japanese text in side of the table. However, I can only see menu items in japanese but the content is somehow garbled. MySQL - 4.1.21 phpMyAdmin - 2.8.2.1 db...
1
by: sandeepindia | last post by:
I m using PHP Version 4.3.2 & Mysql version 3.23.58(No collation etc). My site is in shift JIS encoding. I've both japanese users & russian users. They have entered their member profile in their...
4
by: chemlight | last post by:
I'm having some troubles with the japanese character set and mysql. I have a list of vendors with their languages in a table. The language list for Japanese has been stored in Japanese. When I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.