CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 [TUTORIAL] internationalization of the texts in the MySQL database

Print topic Send  topic

Author Message
enko


Posts: 74
Posted: 06/04/2016, 12:57 PM

I hope this is useful for someone.
If you have problem to show some international char from database you can try to set Local & Encoding to UNICODE UTF-8 in the project setting and alter Common.php inserting manually in the $CCConnectionSettings the elemente encoding "Encoding" => array("", "utf8"),
For Example

//Connection Settings @0-DF7E61FA
$CCConnectionSettings = array (
"SITE" => array(
"Type" => "MySQL",
"DBLib" => "MySQL",
"Database" => "dbuserA",
"Host" => "localhost",
"Port" => "",
"User" => "dbuserA",
"Password" => "213213213dsadasd",
"Encoding" => array("", "utf8"),
"Persistent" => false,
"DateFormat" => array("mm", "/", "dd", "/", "yyyy", " ", "HH", ":", "nn", ":", "ss"),
"BooleanFormat" => array("true", "false", ""),
"Uppercase" => false
)
);
//End Connection Settings
_________________
Italy - CodeCargeStudio (5.1.1.18992) - Dephi RIO - Lazarus (Free Pascal) - www.egsoft.it - www.egauto.it - www.egcourier.it - www.egestetica.it - Windows, Linux, Raspberry Apps.
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.

Web Database

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.