Re: How show correctly Greek characters?
Posted by: Tetsuro Ikeda
Date: May 18, 2005 03:38PM

Hi

I'm from Japan and not familer with greek characters.

But usually we can use non-latin1 language with MySQL like following:

1. use your charset when "CREATE TABLE t1 (c1 char(1)) default character set = XXX"

2. use "SET NAMES = XXX" when you use MySQL Client

If you use Java, you can configure Connector/J like following

String url = "jdbc:mysql://localhost/test";
Properties props = new Properties();
props.put("user", "");
props.put("password", "");
props.put("useUnicode", "true");
props.put("characterEncoding", "XXX");

XXX in the above means the charset name you want to use.

I think not only Connector/J but also the other connectors have setting method like that.

for detail, see document :)

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: How show correctly Greek characters?
2033
May 18, 2005 03:38PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.