This topic is locked

Unicode Label Text display Incorrect

10/22/2008 10:42:54 AM
PHPRunner General questions
Q
quyennt_ptit author

Please help me!
I'm using PHPrunner 5.0
When I creat a Project with DB MySQL, using character set is Unicode "utf-8".

+) in languages.cfg file insert:

<language filename="Vietnamese.lng" name="Vietnamese" lcid="1057" codepage="65001" charset="utf-8" />
+) in vietnamese.lng file:

<?xml version="1.0" encoding="utf-8" ?>
+) in dbcommon.php file change:

if @BUILDER.strCharset=="Windows-949"##

$cCharset = "utf-8";

else##

$cCharset = "utf-8";

endif##



When I run project in webserver (IIS 5.1, PHP 5.2.5, MySQL 5.2.3) some Label text display Incorrect but Caption Text and content DB fields is Correct.(config)


(explorer Encoding is Unicode (UTF-8))
Please Help me Explain this problem.
Thank very much!!!

J
Jane 10/23/2008

Please send this question to support@xlinesoft.com.

S
spitraberg 11/29/2008

Please send this question to support@xlinesoft.com.



open all html files in template folder of your created project by phpdesigner2008 or other text editor software ,and change encoding of them to UTF8, from ANSI.