1
ali44
Character switching problem
  • 2005/3/2 4:47

  • ali44

  • Just popping in

  • Posts: 86

  • Since: 2004/5/24


Xoops, by default, defines character as charset=ISO-8859-1
which is Western character encoding; however when I go to my story module and wfsection modules, some of the page automatically change to Unicode (UTF-8). I don't know what's wrong. How do I fixed this?
Thank you

2
irmtfan
Re: Character switching problem
  • 2005/3/2 5:54

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


check the charset in language/YOUR_LANG/global.php
then check your theme charset (maybe charset hardcoded here ) and templates for wfsection module

3
alitan
Re: Character switching problem
  • 2005/3/6 20:15

  • alitan

  • Quite a regular

  • Posts: 399

  • Since: 2004/3/14


also some modules hardcode the charset in .php files of blocks, so check the files in folder /blocks/ of that module too.

4
MurphyWong
Re: Character switching problem
  • 2005/3/18 7:46

  • MurphyWong

  • Just popping in

  • Posts: 1

  • Since: 2005/3/18


Dear all,

I tried the following tools in the first place:
1) Apache 2.0.53
2) MySQL Max 4.1.10
3) PHP 5.0.3

However, I find that PHP5 is having problem when switching character set. Also, Apache 2.0.x by default will set default charact set to UTF-8.

So, my solution it to downgrade PHP to version 4.3.10 and update Apache's configuration file (httpd.conf) to comment the following line:
# AddDefaultCharset UTF-8

Hope this can solve your problem. :)

Regards,
Murphy

Login

Who's Online

465 user(s) are online (75 user(s) are browsing Support Forums)


Members: 0


Guests: 465


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Sep 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits