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?
|
|
|
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 |
|
|
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
|
|
|
|