From: Carsten K. <car...@us...> - 2001-12-30 06:10:42
|
Update of /cvsroot/phpwiki/phpwiki In directory usw-pr-cvs1:/tmp/cvs-serv9547/phpwiki Modified Files: index.php Log Message: Added accept-charset attribute to form elements. New constant CHARSET replaces hard-coded iso-8859-1 in xhtml templates, to simplify testing PhpWiki with new languages. Index: index.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/index.php,v retrieving revision 1.45 retrieving revision 1.46 diff -C2 -r1.45 -r1.46 *** index.php 2001/12/29 18:22:26 1.45 --- index.php 2001/12/30 06:10:39 1.46 *************** *** 223,226 **** --- 223,239 ---- ///////////////////////////////////////////////////////////////////// + // Select a valid charset name to be inserted into the xml/html pages. + // For more info see: <http://www.iana.org/assignments/character-sets>. + // Note that PhpWiki has been extensively tested only with the latin1 + // (iso-8859-1) character set. + // If you change the default from iso-8859-1 PhpWiki may not work + // properly and it will require code modifications. However, character + // sets similar to iso-8859-1 may work with little or no modification + // depending on your setup. The database must also support the same + // charset, and of course the same is true for the web browser. + // (Some work is in progress hopefully to allow more flexibility in + // this area in the future). + define("CHARSET", "iso-8859-1"); + // Select your language/locale - default language "C": English // other languages available: Dutch "nl", Spanish "es", German "de", |