Author Topic: libs/converter.php quick question (easy one I think)  (Read 7988 times)

0 Members and 1 Guest are viewing this topic.

phoenixx

  • Jr. Member
  • **
  • Posts: 1
libs/converter.php quick question (easy one I think)
« on: January 27, 2010, 07:33:39 PM »
What is the purpose of the libs/converter.php file other than to go back and forth from utf-8 to windows code? I'm trying to make a heavy modification of the server and not sure if I should mess with the file or not.  What, exactly does it do?

Inspirer

  • Mibew Project founder
  • Native
  • *****
  • Posts: 262
    • Mibew Messenger
Re: libs/converter.php quick question (easy one I think)
« Reply #1 on: January 27, 2010, 09:09:43 PM »
This table is used for cyrillic languages when system iconv doesn't work. It can be used to read ru/ua properties file.

There are five areas where text can be encoded differently: mibew ($webim_encoding), database ($dbencoding), localization files (first line of properties file), output html page (getoutputenc()), email ($mail_encoding).

In the simplest case we use utf-8 everywhere (don't need iconv).