Author | tgr4ripe |
Date | 2004-11-21 06:03 |
Posts: | Ok, I found that in Admin->Settings-Graphics there is a drop down selection list for html
charset that sets opnConfig['opn_charset_encoding']. I added couple lines there to include cyrillic charset 'cp1251' and modified lines like ../opn2/html/class/class.opn_output.php:426: echo '<meta http-equiv="content-Type" content="text/html; charset=ISO-8859-1" />'._OPN_HTML_NL; to use value of $opnConfig['opn_charset_encoding'] instead of hardcoded value of ISO-8859-1 as well as htmlentities calls to use it. Do you guys think it would be worthwhile to incorporate this approach in further developments ? I think OPN is a great CMS (I liked the clean and non-kludgy style of coding not to metnion good security track) and it would be nice to see some internatinalization support. |
Print this page Close this page |
This article comes from OpenPHPnuke International Support |
http://www.openphpnuke.com/ |