[OpenLayers-Users] ISO-8859-1
Bart van den Eijnden (OSGIS)
bartvde at osgis.nl
Thu Nov 29 03:10:56 EST 2007
Can you explain code-wise how you perform the GetFeatureInfo request?
If the code uses responseText instead of responseXML, it can only work in
UTF-8.
See also some threads in september titled loading XML problem, e.g.:
http://openlayers.org/pipermail/users/2007-September/003001.html
Best regards,
Bart
--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl
--------- Oorspronkelijk bericht --------
Van: R. Ortner <reinhard.ortner at edu.fh-kaernten.ac.at>
Naar: users at openlayers.org <users at openlayers.org>
Onderwerp: Re: [OpenLayers-Users] ISO-8859-1
Datum: 29/11/07 06:00
>
> Hi again,
>
> i tried to set the charset by adding <meta
http-equiv="content-type"
> content="text/html; charset=ISO-8859-1" /> to the head of the
template file
> and by adding it to my OL index.php. I also set the apache defaultCharset
to
> ISO-8859-1 but i still have some special characters displayed wrong.
>
> So i gess that must be something in the OpenLayers Code where the Charset
is
> set "wrong"!
>
> If i try to open the template file (template file for a getFeatrueInfo
> request the characters displayed correctly! only wrong when OL is
involved)
>
> hope some developer can tell me how to change the default charset of OL
>
> thx
>
> ----
>
>
> R. Ortner wrote:
> >
> > Hi,
> >
> > where to tell OL to show the getFeatureInfo request in ISO-8859-1? (i
need
> > special character support)
> >
> > so far i get as a result of my request for every special character
like ä
> > or ö -> � (FF) /? (in IE).
> >
> > regards
> > R. Ortner
> >
>
> --
> View this message in context:
http://www.nabble.com/ISO-8859-1-tf4887822.html#a14021006
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
More information about the Users
mailing list