[Mapbender-dev] bug in function char_encode (Ticket #210)

David Arndt arndt at geoinformation-planung.de
Wed Apr 23 03:00:39 EDT 2008



   I had problems with "umlauts" in Mapbender 2.5rc1 und rc2.

   When I comment:

           /*if (CHARSET == "UTF-8") {
            if (!$this->is_utf8($data)) {
                $e = new mb_notice("Conversion: ISO-8859-1 to UTF-8");
                return utf8_encode($data);
            }
        }
        else {
            if ($this->is_utf8($data)) {
                $e = new mb_notice("Conversion: UTF-8 to ISO-8859-1");
                return utf8_decode($data);
            }
        }*/

   in function char_encode($data) in class_administration.php,

   it works for me. But I don't know if this works in iso8859-1 installations.

   Regards, David.

------------------------------------------------------------------------
geoinformation+planung
reichert+partner ingenieure
gölzstr. 22 72072 tübingen
fon: +49 (0)7071-407360
fax: +49 (0)7071-407361
info at geoinformation-planung.de
http://www.geoinformation-planung.de

------------------------------------------------------------------------
Regionalplan Schwarzwald-Baar-Heuberg online: http://www.regionalplan-sbh.de


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapbender_dev/attachments/20080423/e513a156/attachment.html


More information about the Mapbender_dev mailing list