[pmwiki-users] Solved (was: Problem with Google Map API and locale de_DE)

Ben Wilson dausha at gmail.com
Wed Jun 7 16:53:43 CDT 2006


On 6/7/06, Christian Bartolomaeus <bartolin at gmx.de> wrote:
> > The locale setting is causing periods to change to commas.
> > After the call to XLPage(), try restoring the locale back to
> > the standard dot:
> >
> >     XLPage('de', 'PmWikiDe.XLPage');
> >     setlocale(LC_NUMERIC, 'C');
>
> Worked like a charm. Thanks a lot!

Hmm. I'll be the problem really lies with Google Map not handling
commas. Perhaps an alternative would be to silently convert commas to
periods so you wouldn't have to worry. Although, that may open a
different can of worms.

-- 
Ben Wilson
"Mundus vult decipi, ergo decipiatur"




More information about the pmwiki-users mailing list