CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 Persian/Arabic Charset

Print topic Send  topic

Author Message
Sharief

Posts: 10
Posted: 12/31/2009, 2:26 AM

Hi, I am trying to access an MySQL Database, the data table where large data stored in utf8 character set format and data previously stored through SMForum application (php & MySQL). Data in a Table clearly visible in readable format and the data looks exactly the same in SMC forum application(http).

I've created grid view in CCS4 trial with for same table and the data displayed as "Sample Data, ??? ????? ?? ? ??? ?? " where as the setting in Locales and encoding is in UTF8 and the file and html charset is utf8 and manually the HTML page charset is in UTF8.

Also I would like to share that; i;ve created the data entry grid for same table and i;ve entered same above which is visible in CCS4 grid view as same as entered one; where as the data stored in MySQL is like this ( Sample data "سمپلے Ø¯ØØ§ " )

How do I fix this problem ?

Please help me...!

Thanks in advance to all
View profile  Send private message
datadoit
Posted: 12/31/2009, 6:31 AM

Contact support.
beshoo

Posts: 68
Posted: 01/06/2010, 3:11 AM

will it is easy job Sharief , u need to make your database as UTF-8 , and set all css setting to UTF-8
that is all

BTW , i am Arabian :) if you like , add me :
beshoo@hotmail.com
_________________
beshoo Love PHP and CC 4.2
View profile  Send private message
Sharief

Posts: 10
Posted: 01/06/2010, 8:57 PM

Hi beshoo;

Thanks for your message; I tried all possible ways available in CCS4 settings, html charset; mySql UTF-8. but it didn't work. Yeah I found that after theses setting whatever data updated looks perfect but in MySQL data seems like garbled.

I found solution by adding 2 lines in common.php. and yup it worked.


Thanks anyways..


View profile  Send private message
mans

Posts: 7
Posted: 02/03/2010, 12:27 PM

what are those two lines?? Let us share knowledge.

By the way, if you make UTF-8 database and start inserting new records, you will notice that Arabic works fine.
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.

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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