Mantis - Quercus
Viewing Issue Advanced Details
2589 minor always 04-10-08 06:51 05-29-08 16:16
sgraf  
ferg  
normal  
closed 3.1.6  
fixed  
none    
none 3.2.0  
0002589: Charset Settings Not Respected When Connecting to MySQL
I'm having troubles setting the charset for my mysql connection and it seems that the actual parameter that contains charset settings is never even considered when the connection is established. All attempts to alter the default charset have failed so far.

It seems thatcom.caucho.quercus.env.Env.getConnection() never uses the settings passed by the url parameter but I might be misunderstanding how this works.

Notes
(0002972)
sgraf   
04-15-08 07:01   
I was able to circumvent this problem by using a jdbc database resource defined in the server context which is initialized by the servlet init parameters.
(0003116)
ferg   
05-29-08 16:16   
php/1463

Note for future i18n bug reports: please add the configuration and/or function calls used to set the charset encoding. PHP/mysql has a number of different ways of setting the charset and we need to know which one is failing in order to create proper test cases.