The XOOPS mailer uses ISO-8859-1 as the default encoding. XOOPS Core Translations
The mailer will test for the presence of a xoopsmailerlocal.php file in the language directory, but if no file is found then the ISO-8859-1 default will be used for all emails. Changing the XOOPS mailer encoding
Languages which need a different encoding can easily change the default by including a file called 'xoopsmailerlocal.php' in the core language directory (XOOPS_URL/languages/[language name]/ ) An example of use
The xoopsmailerlocal.php file should have one class (see the example file below). This class is used to set the defaults for the language.
<?php
class XoopsMailerLocal extends XoopsMailer {
function XoopsMailerLocal(){
$this->XoopsMailer();
$this->charSet = 'utf-8';
}
} ?>
back to dev:Main Page



![[Main Page]](/modules/mediawiki/images/mediawiki.png)





