Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - Java system charset, JDBC driver
Java system charset, JDBC driver
 
   NeoOffice Forum Index -> NeoOffice Releases
View previous topic :: View next topic  
Author Message
Max_Barel
Oracle


Joined: May 31, 2003
Posts: 219
Location: French Alps

PostPosted: Sat Nov 20, 2004 8:22 am    Post subject:

Copy from bugzilla update :
My two cents:
I'm on mysql 4.1.3 and connector/J 3.0.14.
I did not took the time to reproduce your problem.
From my experience, most of the charset problems since mysql >4 are from misunderstanding of the charset stack (sort of). There are a lot of different setting for charset and so conversion on the fly.

Here under is the listing of charset settings :
mysql> show variables like '%_set_%';
+---------------------------------------------------------------------------------------------------+
| Variable_name | Value |
+--------------------------+---------------------------------------------------------------------------------------------------+
| character_set_client | utf8 |
| character_set_connection | utf8 |
| character_set_database | utf8 |
| character_set_results | utf8 |
| character_set_server | utf8 |
| character_set_system | utf8 |
| character_sets_dir | XXXXX/mysql-standard-4.1.3-beta-apple-darwin7.4.0-powerpc/share/mysql/charsets/ |
+--------------------------+---------------------------------------------------------------------------------------------------+
7 rows in set (1.15 sec)

mysql>

When making tests, and then using the database, one must be sure that the whole charset flow is OK and there is no unexpected translation. From a terminal, for instance, be sure its setting is UTF-8...
Back to top
Max_Barel
Oracle


Joined: May 31, 2003
Posts: 219
Location: French Alps

PostPosted: Sat Nov 20, 2004 9:35 am    Post subject:

I forgot to mention that using the same command "show variables like '%_set_%';" from inside Neo/J show that the "character_set_client" and the "character_set_connection" are latin1.
This is normal since NeoJ/OOo uses latin1 internally.
The Connector output look then normal (latin1). I rather suspect that your input was incorrectly stored. I run in such situation when using different source to input in the database.

Max
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Releases All times are GMT - 7 Hours
Goto page Previous  1, 2
Page 2 of 2

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.