[prev in list] [next in list] [prev in thread] [next in thread]
List: mysql-odbc
Subject: RE: Charsets
From: Venu <venu () mysql ! com>
Date: 2002-01-05 17:26:14
[Download RAW message or body]
Hi,
Here is sinisa's comments ..
first run: SHOW VARIABLES command and you can see if charset is
supported or not.
You can fix things if you can generate the Index file in charsets
subdir of the /share/, which looks like this :
# sql/share/charsets/Index
#
# This file lists all of the available character sets. Please keep this
# file sorted by character set number.
big5 1
czech 2
dec8 3
dos 4
german1 5
hp8 6
koi8_ru 7
latin1 8
latin2 9
swe7 10
usa7 11
ujis 12
sjis 13
cp1251 14
danish 15
hebrew 16
# The win1251 character set is deprecated. Please use cp1251 instead.
win1251 17
tis620 18
euc_kr 19
estonia 20
hungarian 21
koi8_ukr 22
win1251ukr 23
gb2312 24
greek 25
win1250 26
croat 27
gbk 28
cp1257 29
latin5 30
latin1_de 31
And you has to have .conf files that correspond to the above.
> -----Original Message-----
> From: Reiner Hutsch [mailto:R.Hutsch@imw-koeln.com]
> Sent: Friday, January 04, 2002 8:41 AM
> To: myodbc@lists.mysql.com
> Subject: Charsets
>
>
> Hi,
>
> I try to use the german1 character-set for correct sorting of umlauts etc.
>
> When I insert "default-character-set=german1" into my my.cnf everything
> works perfect when connecting directly (on my linux host).
>
> When connecting via ODBC from my Win2000 machine, I get the following:
> "error: message: Can't initialize character set 5 (path: default)".
>
> In the Readme.win file of the ODBC driver I find the following info:
> - If you are connecting to a server with a character set that isn't compiled
> into the MySQL client library (the defaults are:
> latin1 big5 czech euc_kr gb2312 gbk sjis tis620 ujis
> ) then you need to install the mysql character definitions from the
> charsets directory into the c:\mysql\share\charsets.
>
> After copying /usr/share/mysql/charsets to c:\mysql\share\charsets the
> problem is still the same.
>
> Can anybody help?
>
Regards, Venu
--
For technical support contracts, go to https://order.mysql.com
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Venu <venu@mysql.com>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Developer
/_/ /_/\_, /___/\___\_\___/ California, USA
<___/ www.mysql.com
---------------------------------------------------------------------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail myodbc-thread4475@lists.mysql.com
To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail myodbc-unsubscribe@lists.mysql.com instead.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic