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

 PHP / UTF-8 / Umlaute / Locales&Encoding

Print topic Send  topic

Author Message
caran

Posts: 15
Posted: 10/23/2012, 5:29 AM

Hy,

i have a problem, i think located by locales&encoding, but i don´t know if i´m right.

Using
CCS4.3
PHP
PosgreSQL 8.12
UTF-8

When i write a code or remarks in german and using special characters like äöü, after publishing they are all converted to äöü

(äöü --> which should be "äöü")

This is a big problem for output via PDF (using fpdf)
Example:
$pdf->Cell(90,4,"4. Tatsächliches Datum der Verbringung:",'LTR',1,'L');
should read correctly
$pdf->Cell(90,4,"4. Tatsächliches Datum der Verbringung:",'LTR',1,'L');

All special characters stored in Database are print out correctly.

I think i had an error in my properties for this project, but i don´t know which.
:(

Somebody an idea?
View profile  Send private message
bannedone


Posts: 273
Posted: 10/23/2012, 7:08 AM

In the properties pane for the project have you set charset correctly.

Also maybe the ecode extension needs to be set.

Just a thought


_________________
John Real
CodeCharge Studio Support, Training, Consulting, Development, Web based solutions
http://realsites.biz
http://ccselite.com
Other Banned IDs on this Forum. jjrjr1, jjrjr2
View profile  Send private message
DataDoIT
Posted: 10/23/2012, 8:35 AM

Note that you're going to have to do a UTF-8 conversion for FPDF also.

See: http://stackoverflow.com/questions/6334134/fpdf-utf-8-encoding-how-to

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.