[Mapbender-users] MB 2.4.1: Umlaut-encoding-problem in GUIadmin_de_services

Christoph Baudson (WhereGroup) christoph.baudson at wheregroup.com
Fri Mar 23 04:58:35 EDT 2007


Danke für den Patch und das kollektive Debugging. Ich habe den Patch 
eingespielt und das zip-Archiv aktualisiert.

Vielen Dank!

Christoph Baudson

Stephan Holl schrieb:
> Hello Stephan,
> 
> Stephan Holl <stephan.holl at intevation.de>, [20070323 - 08:06:27]
> 
>> Hello Ronald,
>>
>> "Ronald Woita" <Ronald.Woita at rostock.de>, [20070322 - 16:55:52]
>>
>>> OK.
>>>
>>> ich korrigiere mich !
>>> Für den Fall einer neu angelegten DB (Postgres, ISO) sind auch bei
>>> mir die Umlaute in den service_guis defekt.
>> Ahh, also doch ein Bugreport wert, zumindest wenn man mit einer
>> frischen ISO-DB anfängt.
>>  
>>> mit den update-Skripts funktioniert das ganze aber wieder.
>> Eine aktuelle Version updaten macht wenig Sinn, aber wenns hilft. Ich
>> werde es gleich probieren. Danke für den Tipp.
> 
> 
> Anbei der Patch, der das initiale Problem löst.
> 
> Grüße
> 
> 	Stephan
> 
>>> Ronald Woita
>>> http://geoportal.rostock.de
>>> Hansestadt Rostock
>>> Kataster-, Vermessungs- und Liegenschaftsamt
>>> Holbeinplatz 14, 18069 Rostock
>>> email: ronald.woita at rostock.de 
>>> phone: +49 (0)381 - 381 6256
>>>
>>>>>> stephan.holl at intevation.de 22.03.2007 16:42 >>>
>>> Hello Burghardt,
>>>
>>> <Burghardt.Scholle at stadt.wolfsburg.de>, [20070322 - 16:35:11]
>>>
>>>> Hallo Stephan,
>>>>
>>>> liegt es vielleicht daran, dass in der php.ini die Zeile 
>>>>
>>>> default_charset = "iso-8859-1"
>>>>
>>>> auskommentiert ist? Vielleicht überprüfst Du mal diese
>>>> Einstellung. Das Problem hatte ich in der Vergangenheit auch
>>>> schon ein paar mal.
>>> Ich habe das auf iso-8859-15 stehen, aber auch iso-8859-1 macht
>>> keinen Unterschied.
>>>
>>> Komischerweise werden ja die Umlaute in der GUI admin_de korrekt
>>> dargestellt... Das schließt eigentlich die globe
>>> WebServer-Einstellung als Fehlerquelle aus.
>>>
>>> Grüße
>>> 	Stephan
>>>
>>>
>>>> Burghardt Scholle
>>>>
>>>> -----Ursprüngliche Nachricht-----
>>>> Von: mapbender_users-bounces at lists.osgeo.org 
>>>> [mailto:mapbender_users-bounces at lists.osgeo.org]Im Auftrag von
>>>> Stephan Holl
>>>> Gesendet: Donnerstag, 22. März 2007 15:13
>>>> An: Mapbender User List
>>>> Betreff: [Mapbender-users] MB 2.4.1: Umlaut-encoding-problem in
>>>> GUIadmin_de_services
>>>>
>>>>
>>>> Hallo MB-Users,
>>>>
>>>> Ich habe die Version 2.4.1 eben runtergeladen und frisch
>>>> installiert. DB: postgres mit LATIN1 encoding und auch alternativ
>>>> mit UTF-8
>>>>
>>>> Bei beiden DBs werden in der GUI admin_de_services die Umlaute
>>>> nicht korrekt angezeigt. In der mapbender.conf habe ich jeweils
>>>> das Encoding auf die entsprechende DB eingestellt.
>>>>
>>>> Ist dies bereits bekannt bzw. reproduzierbar? Falls nicht, eröffne
>>>> ich gern einen Bug.
>>>>
>>>> Beste Grüße
>>>>
>>>> 	Stephan
>>>>
>>>> English:
>>>> GUI admin_de_services does contain wrong german umlauts regardless
>>>> which database encoding is used in the postgres-db-backend and in
>>>> tzhe mapbender.conf file.
>>>>
>>>
>>
> 
> 
> 
> ------------------------------------------------------------------------
> 
> --- pgsql_data.sql	2007-03-20 16:03:32.000000000 +0100
> +++ pgsql_data.sql_patched	2007-03-23 08:40:20.000000000 +0100
> @@ -49,9 +49,9 @@
>  INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_element, e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires, e_url) VALUES ('admin_de_services', 'CreateTreeGDE', 2, 1, 'Ordnerbaum konfigurieren', 'a', '', 'href = "../php/nestedSets.php?sessionID" target = "AdminFrame" ', 10, 516, 200, 20, 5, '', 'Ordnerbaum konfigurieren', 'a', '', '', '', 'AdminFrame', '');
>  INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_element, e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires, e_url) VALUES ('admin_de_services', 'EditWMSMetadata', 2, 1, 'edit the metadata of wms', 'a', '', 'href = "../php/mod_editWMS_Metadata.php?show_wms_list=true&sessionID" target="AdminFrame"', 10, 275, 200, 20, 5, '', 'WMS Metadaten', 'a', '', '', '', 'AdminFrame', '');
>  INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_element, e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires, e_url) VALUES ('admin_de_services', 'body', 1, 1, 'Navigation', 'body', '', 'onload=''mod_adminNavigation_init()''', NULL, NULL, NULL, NULL, NULL, '', '', '', 'mod_adminNavigation.js', '', '', '', '');
> -INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_element, e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires, e_url) VALUES ('admin_de_services', 'deleteWFS', 2, 1, 'WFS löschen', 'a', '', 'href = "../php/mod_deleteWFS.php?sessionID" target = "AdminFrame" ', 10, 393, 200, 20, 5, '', 'WFS löschen', 'a', '', '', '', 'AdminFrame', '');
> -INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_element, e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires, e_url) VALUES ('admin_de_services', 'deleteWMS', 2, 1, '!Vollständig löschen!', 'a', '', 'href = "../php/mod_deleteWMS.php?sessionID" target = "AdminFrame" ', 10, 100, 200, 20, 5, '', 'WMS löschen!', 'a', '', '', '', 'AdminFrame', '');
> -INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_element, e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires, e_url) VALUES ('admin_de_services', 'delete_filteredGui', 2, 1, 'GUI löschen', 'a', '', 'href = "../php/mod_deleteFilteredGUI.php?sessionID" target = "AdminFrame" ', 10, 471, 200, 20, 5, '', 'GUI löschen', 'a', '', '', '', 'AdminFrame', '');
> +INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_element, e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires, e_url) VALUES ('admin_de_services', 'deleteWFS', 2, 1, 'WFS löschen', 'a', '', 'href = "../php/mod_deleteWFS.php?sessionID" target = "AdminFrame" ', 10, 393, 200, 20, 5, '', 'WFS löschen', 'a', '', '', '', 'AdminFrame', '');
> +INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_element, e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires, e_url) VALUES ('admin_de_services', 'deleteWMS', 2, 1, '!Vollständig löschen!', 'a', '', 'href = "../php/mod_deleteWMS.php?sessionID" target = "AdminFrame" ', 10, 100, 200, 20, 5, '', 'WMS löschen!', 'a', '', '', '', 'AdminFrame', '');
> +INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_element, e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires, e_url) VALUES ('admin_de_services', 'delete_filteredGui', 2, 1, 'GUI löschen', 'a', '', 'href = "../php/mod_deleteFilteredGUI.php?sessionID" target = "AdminFrame" ', 10, 471, 200, 20, 5, '', 'GUI löschen', 'a', '', '', '', 'AdminFrame', '');
>  INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_element, e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires, e_url) VALUES ('admin_de_services', 'editElements', 2, 1, 'Oberflächenelemente editieren', 'a', '', 'href = "../php/mod_editElements.php?sessionID" target = "AdminFrame" ', 10, 491, 200, 25, 5, '', 'GUI editieren', 'a', '', '', '', 'AdminFrame', '');
>  INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_element, e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires, e_url) VALUES ('gui2', 'treeGDE', 2, 1, 'dircetory structure, checkbox for visible, checkbox for querylayer', 'iframe', '../html/mod_sync_treefolder.php?sessionID&e_id_css=treeGDE', 'frameborder = "0" ', 1, 1, 1, 1, 4, 'visibility:hidden;', '', 'iframe', '', '', 'mapframe1', '', NULL);
>  INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_element, e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires, e_url) VALUES ('admin_de_services', 'editGUI_WMS', 2, 1, 'WMS GUI Einstellungen', 'a', '', 'href="../php/mod_editGuiWms.php?sessionID"'' target="AdminFrame"', 10, 218, 200, 20, 5, '', 'WMS Einstellungen ändern', 'a', '', '', '', 'AdminFrame', '');
> @@ -124,7 +124,7 @@
>  INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_element, e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires, e_url) VALUES ('gui2', 'zoomOut1', 2, 1, 'zoomOut button', 'img', '../img/button_blue/zoomOut2_off.png', 'onclick=''mod_zoomOut1()'' onmouseover=''mod_zoomOut1_init(this)'' title="Zoom out"', 231, 40, 28, 28, 3, 'filter:Chroma(color=#C2CBCF);', '', '', 'mod_zoomOut1.php', '', 'mapframe1', '', 'http://www.mapbender.org/index.php/ZoomOut');
>  INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_element, e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires, e_url) VALUES ('admin1', 'deleteWFS', 2, 1, 'delete WFS', 'a', '', 'href = "../php/mod_deleteWFS.php?sessionID" target = "AdminFrame" ', 10, 890, 200, 20, NULL, 'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;', 'DELETE WFS', 'a', '', '', '', 'AdminFrame', 'http://www.mapbender.org/index.php/DeleteWMS');
>  INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_element, e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires, e_url) VALUES ('admin_de_services', 'orphanWMS', 2, 1, 'display orphaned WMS', 'a', '', 'href = "../php/mod_orphanWMS.php?sessionID" 
> -target = "AdminFrame"', 10, 120, 200, 20, 5, '', 'WMS ohne Zuordung löschen', 'a', '', '', '', 'AdminFrame', '');
> +target = "AdminFrame"', 10, 120, 200, 20, 5, '', 'WMS ohne Zuordung löschen', 'a', '', '', '', 'AdminFrame', '');
>  INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_element, e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires, e_url) VALUES ('gui2', 'dragMapSize', 2, 1, 'drag & drop Mapsize', 'div', '', '', 81, -19, NULL, NULL, 2, 'background-color:#799FEB; font-size:1px; cursor:move; width:10; height:10;', '', 'div', 'mod_dragMapSize.php', '', 'mapframe1', '', NULL);
>  INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_element, e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires, e_url) VALUES ('gui2', 'loadwmc', 2, 1, 'load workspace from WMC', 'img', '../img/button_blue/wmc_load_off.png', 'onclick=''mod_loadwmc()'' onmouseover=''this.src = this.src.replace(/_off/,"_over");'' 
>  onmouseout=''this.src = this.src.replace(/_over/, "_off");'' title="Load a web map context document"', 758, 40, 28, 28, 3, 'filter:Chroma(color=#C2CBCF);', '', '', 'mod_loadwmc.php', '', 'mapframe1', '', 'http://www.mapbender.org/index.php/LoadWMC');
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users


-- 
---------------------------------------
WhereGroup GmbH & Co. KG
Siemensstraße 8
53121 Bonn
Germany

Fon: +49 (0)228 / 90 90 38 - **
Fax: +49 (0)228 / 90 90 38 - 11

mailto:info at wheregroup.com
http://www.wheregroup.com
Amtsgericht Bonn, HRA 6788
-------------------------------
Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Arnulf Christl, Olaf Knopp, Peter Stamm
---------------------------------------


--
Baudson Christoph
http://www.wheregroup.com


More information about the Mapbender_users mailing list