Hi,

I am having trouble with the encoding fo my German umlaut characters. I am not 
sure where to check any more to fix this. The returned charaters set in firebug 
says: Accept-Charset     ISO-8859-1,utf-8;q=0.7,*;q=0.7 

In Openlayers I defined a layer with the name "Geschäftsstellen" (ä is 
replaced by ä to make sure it renders fine in Html. This displays fine in 
the geoext tree panel and also for the legends of the wms legend that is 
delivered by mapserver.

Now I have two areas where I ran into problems:
1. I have an OL OpenLayers.Control.WMSGetFeatureInfo tool that triggers an wms 
getfeatureinfo request to mapserver. Even though the returned thml (verified in 
firebug returns "Geschäftsstellen" correctly in the geoext legend it displays 
wrong as literally "Geschäftsstellen" (whereas at the same time in the 
geoext tree panel this shows correctly .

2. In the id tool result display I also have problems where "ü" for München 
shows up as a ?mark.
http://ec2-174-129-131-221.compute-1.amazonaws.com/cgi-bin/mapserv?map=/mnt/maps/vfs2.map&service=WMS&version=1.1.0&request=GetFeatureInfo&layers=gemeinde&query_layers=gemeinde&styles=&bbox=1270621.066298%2C6106688.787547%2C1331006.318632%2C6159430.337054&srs=EPSG%3A900913&feature_count=3&x=228&y=343&height=690&width=790&info_format=text%2Fhtml

So it apperas this wms request delivers correct characters but in the ext 
window it displays wrong...

        var info = new OpenLayers.Control.WMSGetFeatureInfo({
            url: '/cgi-bin/mapserv?map=/mnt/maps/vfs2.map',
            title: 'Attribute anzeigen via Klick',
            queryVisible: true,
            maxFeatures: 3,
            querylayers: 
[regierungsbezirke,landkreise,gemeinde,flkgrenzenbayern,waldbesitzer],
            layers: 
[waldbesitzer,flkgrenzenbayern,gemeinde,landkreise,regierungsbezirke],
            eventListeners: {
              getfeatureinfo: function(event) {
                idresult =  event.text;
                idcount = idcount++;
                win[idcount] = new Ext.Window({
                              layout:'fit',
                              title: "Attributinformationen",
                              collapsed : false,
                              collapsible : true,
                              plain: true,
                              bodyBorder : false,
                              autoScroll : true,
                              html: "ok"
                });                   
                win[idcount].html = idresult;             
                win[idcount].show();
              }
            }
             
        });



How can i fix this...
Cheers
Karsten




_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users

Reply via email to