Hi,
I have the same problem with my shape. Encoding of mslayer is set to
ISO-8859-1. defCharset in config.ini and Default charset of the webserver is
set to UTF-8. Firefox character encoding is automatically set to UTF-8, but my
option list still contains hieroglyphs instead of the german special characters.
When I set defCharset to ISO-8859-1 in config.ini the options list is shown
correctly.
<searchitem name="adresssuche" description="Adresssuche">
<layer type="shape" name="adressen">
<field type="s" name="NAME" description="Strasse" wildcard="2">
<definition type="options" connectiontype="ms" sort="asc" firstoption="*">
<mslayer encoding="ISO-8859-1" keyfield="NAME" showfield="NAME" />
</definition>
</field>
<field type="s" name="TXT" description="Hausnummer" wildcard="2" />
</layer>
</searchitem>
Greetings Robert
Armin Burger schrieb:
> One possibility could be that the encoding settings for the Web server
> are not understood by the client browser. Try to set you browser
> encoding manually to UTF-8. The layer encoding needs of course be set
> correctly, for shapefiles usually ISO-8859-1 should be correct. Encoding
> for the server should be set to UTF-8 following this (last paragraph):
>
> http://svn.pmapper.net/trac/wiki/FaqDebugging#Problemswithcharacterencodings
>
> See if it helps, otherwise you could send me your shapefile and the
> mapfile and I can try it here.
>
> Regards, Armin
>
> On 13/08/2008 21:06, Marcello Benigno wrote:
>> Hi Armin, hi all,
>>
>> I defined my searh.xml file like this:
>>
>> <searchitem name="municipios" description="Municípios">
>> <layer type="shape" name="municipios">
>> <field type="s" name="MUNICIP" description="Nome do
>> Município"
>> wildcard="2">
>> <definition type="options" connectiontype="ms"
>> sort="asc"
>> firstoption="*">
>> <mslayer encoding="ISO-8859-1" keyfield="MUNICIP"
>> showfield="MUNICIP"/>
>> </definition>
>> </field>
>> </layer>
>> </searchitem>
>>
>> But some city name's in Portuguese like "Acaraú" appears with "?"
>> (acara?),
>> is it wrong encoding? I tried ISO-8859-1, LATIN1 and UTF-8... nothing
>> works.
>> In IE it's worst because the select field doesn't appears. Please, Any
>> Ideas?
>>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> pmapper-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>
>
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
pmapper-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users