1
hardyvoje
How to change encooding?
  • 2006/4/5 7:01

  • hardyvoje

  • Not too shy to talk

  • Posts: 123

  • Since: 2005/12/25


Where can i find variable: $xoops_charset
to change encoding on my pages?

Help!
FreeResources Design Portal: http://www.omnetwork.net | Open Source Gaming Portal: http://www.osgamer.org

2
stefan88
Re: How to change encooding?
  • 2006/4/5 7:05

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


in language/YOURLANGUAGE/global.php at the end of file there is something like:

//%%%%%        LANGUAGE SPECIFIC SETTINGS   %%%%%
define('_CHARSET''windows-1251');
define('_LANGCODE''bg');

// change 0 to 1 if this language is a multi-bytes language
define("XOOPS_USE_MULTIBYTES""0");


...
..

3
hardyvoje
Re: How to change encooding?
  • 2006/4/5 7:20

  • hardyvoje

  • Not too shy to talk

  • Posts: 123

  • Since: 2005/12/25


Thanks!!

But is UTF-8 multi byte?
FreeResources Design Portal: http://www.omnetwork.net | Open Source Gaming Portal: http://www.osgamer.org

4
hardyvoje
Re: How to change encooding?
  • 2006/4/19 1:39

  • hardyvoje

  • Not too shy to talk

  • Posts: 123

  • Since: 2005/12/25


Now I have to change mySql client encoding set to Latin2

I tried to insert
mysql_query("SET CHARACTER SET 'latin2'", $this->conn);

into class/database/mysqldatabase.php

but it seems that command is ignored!

help!
FreeResources Design Portal: http://www.omnetwork.net | Open Source Gaming Portal: http://www.osgamer.org

Login

Who's Online

163 user(s) are online (43 user(s) are browsing Support Forums)


Members: 0


Guests: 163


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