1
dimitris_s
How to lock the character set/encoding...
  • 2005/8/25 20:26

  • dimitris_s

  • Just popping in

  • Posts: 75

  • Since: 2005/7/13


Hello to all of you, once again...

I am wondering how can I lock all my pages to display their content only in ISO-8859-7.

This is why, when i select the above charset from firefox everythings OK, but when I change page, it loses the charset and I have to set it again...

Is there some code, that I should paste into my theme.html or some other file?

I am using XOOPS 2.0.13.1.

P.S: In my theme.html there's a line that says about the encoding. There I set the encoding I wanted but it didn't work...

Any advice will be highly appreciated...

Thanks to all of you...
.:::http://tus.ath.cx :::.
Apache 2.0.55, PHP 4.4.2, MySQL 4.0.18

2
LazyBadger
Re: How to lock the character set/encoding...

Which localisation do you use? If ISO-8859-7 isn't it's translation charset, you can edit one string and replace old ISO-8859-1 with ISO-8859-7
Quis custodiet ipsos custodes?

Webmaster of
XOOPS2.RU
XOOPS Modules Proving Ground
XOOPS Themes Exhibition

3
dimitris_s
Re: How to lock the character set/encoding...
  • 2005/8/25 20:55

  • dimitris_s

  • Just popping in

  • Posts: 75

  • Since: 2005/7/13


I don't use any localization.

With XOOPS 2.0.13 this issue was OK.

I want to use the ISO-8859-7[Greek]..,

What's the string that I should change?
.:::http://tus.ath.cx :::.
Apache 2.0.55, PHP 4.4.2, MySQL 4.0.18

4
LazyBadger
Re: How to lock the character set/encoding...

language\english\global.php

Orig.
//%%%%%        LANGUAGE SPECIFIC SETTINGS   %%%%%
define('_CHARSET''ISO-8859-1');
define('_LANGCODE''en');


Your

//%%%%%        LANGUAGE SPECIFIC SETTINGS   %%%%%
define('_CHARSET''ISO-8859-7');
define('_LANGCODE''gr');


But better way will be to copy language\english\ into language\greek\ and perform all changes in it
Quis custodiet ipsos custodes?

Webmaster of
XOOPS2.RU
XOOPS Modules Proving Ground
XOOPS Themes Exhibition

5
dimitris_s
Re: How to lock the character set/encoding...
  • 2005/8/25 21:14

  • dimitris_s

  • Just popping in

  • Posts: 75

  • Since: 2005/7/13


Thanks my friend! That worked.!!


Russian Power always comes when you need it! ;)

thank you very much
.:::http://tus.ath.cx :::.
Apache 2.0.55, PHP 4.4.2, MySQL 4.0.18

Login

Who's Online

178 user(s) are online (115 user(s) are browsing Support Forums)


Members: 0


Guests: 178


more...

Donat-O-Meter

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

Latest GitHub Commits