Hi Martin (this list is in English :-) )

What kind of datasource is it? For ogr layers (e.g. shapefiles), QGIS reads the 
encoding from the project file. For other ones (e.g. postgres), handling of 
encoding is done automatically. 
QGIS mapserver should take the same encoding as QGIS desktop when opening the 
project file.

e.g. if you opened a shapefile and selected  ISO-8859-1 encoding in the dialog, 
an entry in the project file looks like this:

<maplayer ...>
<datasource>/home/marco/geodaten/kanton_zh/gem.shp</datasource>
.....
 <provider encoding="ISO-8859-1">ogr</provider>
</maplayer>

Regards,
Marco

Am Mittwoch, 24. November 2010, um 23.00:46 schrieb Martin Schweizer:
> Hallo allerseits
> 
> Folgendes Problem: Ich habe qgis-mapserver erfolgreich installiert und bin
> nach folgender Anleitung vorgegangen:
> http://karlinapp.ethz.ch/qgis_wms/documentation/index.html
> Ich habe also das qgs direkt im /cgi-bin gespeichert.
> 
> Dabei hat auch alles wunderbar funktioniert. Nur werden bei der
> Layerbeschriftung keine Umlaute (ä ,ö,ü) angezeigt. Ein Beispiel findet
> sich z.B. hier (Ganz unten sollte es "Die Südflur" heissen. Angezeigt
> wird: "Die Sdflur"):
> 
> http://asmaron.homelinux.net/cgi-
> bin/qgis_mapserv.fcgi?LAYERS=Herrschaftsgebiete&REASPECT=true&TRANSPARENT=t
> rue&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXC
> EPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A32632&BBOX=529.82163187
> 85583,-4.547473508864641e-13,3459.643263757116,1529.8216318785574&WIDTH=556
> &HEIGHT=556
> 
> In QGis werden die Umlaute allerdings korrekt wiedergegeben...
> 
> QGis-Version: 1.6.0
> QGis mapserver: 1.7.0+snv14754~lenny1
> 
> Ist das ein Fehler im qgis-mapserver? oder nur irgendwelche falschen
> Einstellungen? Bzw. wie könnte ich das beheben?
> 
> Vielen Dank und viele Grüsse
> Martin
> _______________________________________________
> Qgis-user mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/qgis-user


-- 
Dr. Marco Hugentobler
Sourcepole -  Linux & Open Source Solutions
Churerstrasse 22, CH-8808 Pfäffikon SZ, Switzerland
[email protected] http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to