From: z2d2 <z2...@ea...> - 2002-12-13 19:24:17
|
Re: From: David Eduardo Gomez Noguera <da...@se...> Subject: I see garbage with mozilla, but error messages with links Correction to my last. What caused my errors which were similar to yours was me inadvertently deleting the default directory. I didn't realize that contained the template files for all the themes. I thought it was only the default theme shown on phpwiki's site. Try reloading the /themes/default/ directory and /lib/Template.php. You may have a corrupted or missing file. ----------------------------------------------------------------- --- Re: From: John Kershaw <jo...@ke...> Subject: All Greek to me (Wiki maths) Sure, you can. This line is in the head of your webpage and tells a browser which character set you want to display: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> PhpWiki's template is set up for 8859-1. These are all the characters that will be displayed properly cross browser: http://www.microsoft.com/globaldev/reference/iso/28591.htm By changing that line, you can display non-Latin based languages like Greek. It looks like ISO 8859-7 includes Greek letters. http://www.microsoft.com/globaldev/reference/iso/28597.htm . All you have to do is change this line in index.php: from: define("CHARSET", "iso-8859-1"); to: define("CHARSET", "iso-8859-7"); Phpwiki's code will then carry it through to the head of each of your webpages. Before doing that though make sure you can live without the characters you'll be losing by switching. There's a ton of other ISO's. If you need different or more characters than in 8859-7 just do a search on Google and see what other ISO might fit your need. Be careful in wandering outside the standard ones because it may not render properly in older or cross browsers. Just do a test if you decide to do that. Mac's have their own built in character sets which includes Greek. That's why you can see Greek without changing that line but everyone else will probably see garbage in you type a character outside the set defined in that metatag. |