[mapguide-users] RES: Widget Label Accentuation not working

pc.brutus.xyz at gmail.com pc.brutus.xyz at gmail.com
Tue Jul 14 09:59:23 PDT 2026


Hi Liglio,

I'm sending you a response from Gemini. The 2019 server is possibly the
cause.


Try these solutions propose by Gemini

 

1.

 

Configure IIS to Force UTF-8 (via web.config)

 

If you are using IIS on Windows Server 2019, IIS may force the
application/x-javascript or text/html encoding to ANSI/Windows-1252. You can
force it to use UTF-8 by adding or modifying the web.config file in the root
directory of your MapGuide site (often in C:\OSGeo\MapGuide\Web\www\).

 

Add (or merge) this section into your web.config to force global decoding to
UTF-8:

 

<configuration>

  <system.web>

    <globalization 

      requestEncoding="utf-8" 

      responseEncoding="utf-8" 

      fileEncoding="utf-8" />

  </system.web>

</configuration>

 

 

 

2.

If you can't or don't want to modify the server files, you can work around
the problem directly in your widget's XML using a CDATA block.

Since Maestro automatically converts the code ã to ã during a standard
save, the CDATA block will "hide" the HTML entity so that Maestro saves it
as is, without modifying it.

In Maestro, right-click on your Flexible Layout (or your Widget) and choose
Edit as XML.

Find the tag for your Label or Tooltip.

 

Write it exactly like this:

 

<Label><![CDATA[Visão]]></Label>

 

Save.

 

This way, Maestro stores the raw Visão value. When the browser displays
the widget, it will decode the code ã itself. in ã, regardless of the
encoding quirks of the Windows server.

 

Regards,

 

Pierre

 



















 

De : liglio.pessoal at nexxa.com.br <liglio.pessoal at nexxa.com.br> 
Envoyé : 14 juillet 2026 11:03
À : pc.brutus.xyz at gmail.com; 'MapGuide Users Mail List'
<mapguide-users at lists.osgeo.org>; pierre.cardinal at sympatico.ca
Objet : RES: [mapguide-users] RES: Widget Label Accentuation not working

 

Hi Pierre,

 

It did not work here, I did the same with widget QuickPlot, edited the label
to Quick Ploã and the result is Quick Plo?

Mapguide installed in a windows server 2019.

 



 

Regards,

 

Liglio Cavalcante

 

De: pc.brutus.xyz at gmail.com <mailto:pc.brutus.xyz at gmail.com>
<pc.brutus.xyz at gmail.com <mailto:pc.brutus.xyz at gmail.com> > 
Enviada em: segunda-feira, 13 de julho de 2026 20:36
Para: 'MapGuide Users Mail List' <mapguide-users at lists.osgeo.org
<mailto:mapguide-users at lists.osgeo.org> >; pierre.cardinal at sympatico.ca
<mailto:pierre.cardinal at sympatico.ca> 
Cc: liglio.pessoal at nexxa.com.br <mailto:liglio.pessoal at nexxa.com.br> 
Assunto: RE: [mapguide-users] RES: Widget Label Accentuation not working

 

Hi Liglio,

 

 

Environment : Windows11, MapGuide 3.1.2.9484, Firefox, Edge, Chrome,
MapGuide Maestro 6.0m12

 

I dit some tests with the widget QuickPlot. I added ã at the end of the
Label and of the Tooltip.

<Label>Quick Plotã </Label>

<Tooltip>Click to create a plot quicklyã </Tooltip>

 

The results are ok.



 

 

It appears that your custom widget is the cause of the problem.

Regards,

Pierre

 

 

De : mapguide-users <mapguide-users-bounces at lists.osgeo.org
<mailto:mapguide-users-bounces at lists.osgeo.org> > De la part de Liglio
Cavalcante via mapguide-users
Envoyé : 13 juillet 2026 18:11
À : pierre.cardinal at sympatico.ca <mailto:pierre.cardinal at sympatico.ca> ;
'MapGuide Users Mail List' <mapguide-users at lists.osgeo.org
<mailto:mapguide-users at lists.osgeo.org> >
Cc : liglio.pessoal at nexxa.com.br <mailto:liglio.pessoal at nexxa.com.br> 
Objet : [mapguide-users] RES: Widget Label Accentuation not working

 

 

Hi Pierre,

 

The widget is edited through Maestro at Web Layout Flexible. I suppose it is
saved in the library, then the Fusion Viewer parses this XML to create the
Widget.

I already tried to replace ã with ã same result. Maestro converts
ã to ã when the widget is saved. This is a parser problem in Fusion, or
some configuration to made.

Regards,

 

Liglio Cavalcante

 

De: pierre.cardinal at sympatico.ca <mailto:pierre.cardinal at sympatico.ca>
<pierre.cardinal at sympatico.ca <mailto:pierre.cardinal at sympatico.ca> > 
Enviada em: segunda-feira, 13 de julho de 2026 13:55
Para: 'MapGuide Users Mail List' <mapguide-users at lists.osgeo.org
<mailto:mapguide-users at lists.osgeo.org> >
Cc: liglio.pessoal at nexxa.com.br <mailto:liglio.pessoal at nexxa.com.br> 
Assunto: RE: [mapguide-users] Widget Label Accentuation not working

 

Hi,


Was your XML file saved using UTF-8 encoding?

or

Have you try to replace ã with ã 

(Visão to Visão)


Regards

Pierre

 

 

De : mapguide-users <mapguide-users-bounces at lists.osgeo.org
<mailto:mapguide-users-bounces at lists.osgeo.org> > De la part de Liglio
Cavalcante via mapguide-users
Envoyé : 13 juillet 2026 10:16
À : mapguide-users at lists.osgeo.org <mailto:mapguide-users at lists.osgeo.org> 
Cc : liglio.pessoal at nexxa.com.br <mailto:liglio.pessoal at nexxa.com.br> 
Objet : [mapguide-users] Widget Label Accentuation not working

 

Hi,

 

I tried to use accentuation in a custom Widget at Label or Tooltip but is
not working, despite the encoding="utf-8" in XML.

Words like Visão are displayed Vis?o. Maybe the parser it is not applying
the right encoding. Can I correct this ?

 

Mapguide 3.1.2 – Fusion Viewer

 

Regards,

 

Liglio Cavalcante

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20260714/07a2a824/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 4592 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20260714/07a2a824/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 66256 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20260714/07a2a824/attachment-0001.png>


More information about the mapguide-users mailing list