| View previous topic :: View next topic |
| Author |
Message |
Zolo
Joined: 29 Sep 2007 Posts: 2
|
Posted: Sep 29, 2007 1:07 am Post subject: Error in translation to other language |
|
|
Thanks for this great script.
I try to translate script (Templates) to local language . but i am facing a problem in charset
i change it to my local charset but it returned back to western charst ... so characters appearing unknown characters .. |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 2109 Location: UFO Lab
|
Posted: Oct 01, 2007 12:14 pm Post subject: |
|
|
| Try to specify META tags for charset in templates. Or I can provide you quick hack for charset http headers if this won't help. |
|
| Back to top |
|
 |
Zolo
Joined: 29 Sep 2007 Posts: 2
|
Posted: Oct 01, 2007 8:37 pm Post subject: |
|
|
I specified meta tags for my local language in main templete . but the result was zero .characters was unreadable
i am waiting for your quick hack .please |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 2109 Location: UFO Lab
|
Posted: Oct 02, 2007 6:25 am Post subject: |
|
|
In index.cgi find this line:
| Code: | | print header( -type=>'text/html', -cookie=>$f->{cookies} ); |
and replace it with
| Code: | | print header( -type=>'text/html', -cookie=>$f->{cookies}, -charset=>'utf-8' ); |
replace utf-8 with your desired charser. Should help. |
|
| Back to top |
|
 |
|