CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Wishes

 connnection character set

Print topic Send  topic

Author Message
Tony
Posted: 02/21/2005, 1:29 AM

I use a db with diffrent character set. Will be good if the db connection has a property for character set - something like Zeos DB - codepage = xxxx, where xxxx is the code page for the db - in this case the command SET CHARACTER SET =xxxx is set again with the SQL command. (this is for MySQL)
miko

Posts: 50
Posted: 02/21/2005, 11:56 PM

Tony,

you can try to do it with sql session commands. Such commands is used to set DateFormat for Oracle connections.
For example, is is supposed connection name is "Conn1" then we can add into site.properties file

Conn1.sessionCommand0=SET CHARACTER SET =xxxx
Conn1.sessionCommand1= <another init command>
... and so on

please note commands will be executed in their order and execution will be finished if command with the next number is missed.
For example:
Conn1.sessionCommand0=SET CHARACTER SET =xxxx
Conn1.sessionCommand2= <another init command>

command2 won't be performed because Conn1.sessionCommand1 is missed.

_________________
Regards,
Michael
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.