UTF-8 problem

oniipal

No avatar

2006-10-14 17:28

Hallo, I would like to use UTF-8 charset, but it has small bugs. For Example ť is changing to š but in DB file is correct character ť. I dont know what to change in TPLparser library. Thanx for help.

oniipal

No avatar

2006-10-14 17:46

I checked DB once again and there is wrong character too...

oniipal

No avatar

2006-10-14 18:24

Okey, I fixed it. In lib/tplParser I changed:
"function changeTxt( ){
if( $this->iso == true ){"
with
"function changeTxt( ){
if( $this->iso == false ){"

oniipal

No avatar

2006-10-14 18:30

to make UTF working 100% properly, add to config/general.php this line:
setlocale(LC_ALL, 'sk_SK.UTF-8');

sk_SK is locale for Slovakia, so change it to your country!

I have no problems with Encoding now!

Hope it will help somebody...

nikenhn

No avatar

2007-03-01 04:54

Hi, Just don't know which line to put that code. I want copy en.php to vn.php and encode it with utf-8 for translating. I've tried to modify as described here but it still show error.

fiery

No avatar

2008-02-01 17:25

I found several bugs when I tried the UTF-8 encoding and these are the solutions:

1. Change all ob_start( 'changeCharset' ); to ob_start(); (admin.php and index.php)
2. In Trash.php -> change2Url(...) add urlencode(...) at return urlencode(...)

Back to top
about us | contact