[Refdb-users] Re: forwarded message from Markus Hoenicka
Status: Beta
Brought to you by:
mhoenicka
|
From: Markus H. <mar...@mh...> - 2004-01-27 14:06:11
|
Hi Diwaker, thanks for running the experiments. The online docs tell me that character encoding support was greatly enhanced in MySQL 4.1, so it is likely that there is no Unicode support yet in your version. Your experiments show that there is some problem in the program logic. getref should return whatever encoding the database uses unless you use the -E option. As a temporary workaround, set the "fromencoding" variable in refdbcrc to your preferred output encoding. This way you don't have to specify the -E option in every getref call. regards, Markus Diwaker Gupta writes: > Hi Markus, > > I did some experiments: > > o The default encoding of MySQL databases is latin5 (ISO-8859-1). > Apparently, there isn't any way to set the default encoding to UTF-8 -- > atleast I couldnt find any such encoding among the charsets that ship > with MySQL > > o The default encoding of the database is also ISO-8859-1. I have also > set the encoding and fromencoding option in refdbcrc to ISO-8859-1. > However, without giving -E option, I still get "cannot set conversion > descriptor" > > o With the -E option, I can get the output in any encoding. > > Hope that helps, > Diwaker > > Markus Hoenicka wrote: > > [apologies if it's a duplicate, but the list apparently swallowed > > yesterday's posts] > > > > > > > > > -- > Diwaker Gupta > Graduate Student, Computer Sc. and Engg. > University of California, San Diego > <http://www.cse.ucsd.edu/users/dgupta> > -- Markus Hoenicka mar...@ca... (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de |