[pmwiki-users] Newbie - UTF-8

Jan Erik Moström lists at mostrom.pp.se
Tue Dec 13 08:34:56 CST 2005


Patrick R. Michaud <pmichaud at pobox.com> 2005-12-13 15:07:

> On Tue, Dec 13, 2005 at 08:54:30AM +0100, Jan Erik Moström wrote:
> > A real newbie question (I've started to set a wiki about 12 hours
> > ago): when I use pmcal and tell it to use Swedish locale, the day
> > names are given in what looks like UTF-8. Unfortunately, the "raw
> > bytes" are displayed instead of "interpreted" UTF-8.
> > 
> > How do I handle a thing like this?
> 
> Well, the big question is whether it's in fact UTF-8 or something
> like ISO-8859-1.  

It's not Latin1

> Can you give us some more information about your
> configuration... are you using XLPage() or otherwise loading any
> of the xlpage-*.php scripts?

I'm using the config file that comes with pmwiki, I've uncommented a few
things and added the following at the end of the file:

XLPage('se','PmWikiSv.XLPage'); 
include_once('cookbook/pmcal.php');
include_once('cookbook/XToDo.php');
$todo_category_names = array('Allmänt', 'Fixar', 'IT');
$todo_owner_names = array('Anonymous', 'Mickey Mouse', 'Fixargruppen');


> Is there a url we could look at?

Unfortunately not, the server is not a public one but I've uploaded a
screenshot at the following address <http://www.cs.umu.se/~jem/pmwiki.png>

                        jem

PS
I should perhaps add that my knowledge of PHP is ... I think "non-existing"
is the correct term ;-)
DS
-- 
Jan Erik Moström, www.mostrom.pp.se




More information about the pmwiki-users mailing list