Author tgr4ripe
Date 2004-11-17 05:23
Posts: Is it possible to add a config variable that would specify output html charset ? I installed OPN for site where main language is russian (use CP1251 charset) and it would be usefull if htmlentities calls used non-default charset. For example I had to change every call htmlentities($some_variable) to htmlentities($some_variable, ENT_COMPAT, 'cp1251').

Now if someone wants to use OPN with default html charset it should be easy enough. Would be nice if $opnConfig['HtmlCharset'] existed somewhere and was configurable and subsequenly used as an argument in appropriate function calls.


Print this page
Close this page

This article comes from OpenPHPnuke International Support

http://www.openphpnuke.com/