1
jlm69
Question about encoding (I guess)
  • 2008/1/6 22:00

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


In my spare time I am working with the XOOPS Cube module Xmobile. If I get it all figured out I will release it for Xoops. I have one question. There is a part that has these lines:

if(!defined('HTML_CODE')) define('HTML_CODE', 'SJIS');
if(!defined('CHARA_SET')) define('CHARA_SET', 'Shift_JIS');
if(!defined('SCRIPT_CODE')) define('SCRIPT_CODE', 'EUC-JP');


How can I change these for an English site?

I figure it is easier to ask than spend alot of time researching.

Thanks to anyone who can help.

John

2
phppp
Re: Question about encoding (I guess)
  • 2008/1/6 22:08

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


I would say that in order to change them for English sites, you first have to find out what those variables are used for.
Generally speaking 'ISO-8859-1' would be safe for English sites for most scenarios.

3
jlm69
Re: Question about encoding (I guess)
  • 2008/1/6 22:14

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


I have never seen SJIS or Shift_JIS I was wondering if someone could tell me what they mean and their English equivalent.

Thanks,

John

4
phppp
Re: Question about encoding (I guess)
  • 2008/1/6 22:21

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


Those are two charsets for Japanese.

5
jlm69
Re: Question about encoding (I guess)
  • 2008/1/6 22:41

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


Could I relace all 3 with ISO-8859-1, that would seem wrong, should I try. Usually I would try and not ask, but I guess I'm feeling lazy today.

Thanks,

John

6
shigeto_y
Re: Question about encoding (I guess)
  • 2009/8/16 4:29

  • shigeto_y

  • Just popping in

  • Posts: 3

  • Since: 2009/8/16


Hi, John.

I maintained xmobile module to solve some bugs.
Also, I added the English Language resources.

But I tested XOOPS 2.0.16a and XOOPS Cube 2.1.6a.

You can get new version from
http://sourceforge.jp/projects/xmobile/downloads/43011/xmobile-040rc2.tar.gz/

Login

Who's Online

401 user(s) are online (297 user(s) are browsing Support Forums)


Members: 0


Guests: 401


more...

Donat-O-Meter

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

Latest GitHub Commits