Hi Pierre,
Thanks for your Support. 1 Did not work I already had in my app web.config, and now put in the mapguide web.config, but no effect. 2 It worked, a curious thing, after saved in maestro <Label><![CDATA[Visão]]></Label>, becomes <Label> Vis&#227;o</Label> Regards, Liglio Cavalcante De: [email protected] <[email protected]> Enviada em: terça-feira, 14 de julho de 2026 13:59 Para: [email protected]; 'MapGuide Users Mail List' <[email protected]>; [email protected] Assunto: RE: [mapguide-users] RES: Widget Label Accentuation not working 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 : [email protected] <mailto:[email protected]> <[email protected] <mailto:[email protected]> > Envoyé : 14 juillet 2026 11:03 À : [email protected] <mailto:[email protected]> ; 'MapGuide Users Mail List' <[email protected] <mailto:[email protected]> >; [email protected] <mailto:[email protected]> 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: [email protected] <mailto:[email protected]> <[email protected] <mailto:[email protected]> > Enviada em: segunda-feira, 13 de julho de 2026 20:36 Para: 'MapGuide Users Mail List' <[email protected]>; [email protected] <mailto:[email protected]> Cc: [email protected] <mailto:[email protected]> 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 <[email protected] <mailto:[email protected]> > De la part de Liglio Cavalcante via mapguide-users Envoyé : 13 juillet 2026 18:11 À : [email protected] <mailto:[email protected]> ; 'MapGuide Users Mail List' <[email protected] <mailto:[email protected]> > Cc : [email protected] <mailto:[email protected]> 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: [email protected] <mailto:[email protected]> <[email protected] <mailto:[email protected]> > Enviada em: segunda-feira, 13 de julho de 2026 13:55 Para: 'MapGuide Users Mail List' <[email protected] <mailto:[email protected]> > Cc: [email protected] <mailto:[email protected]> 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 <[email protected] <mailto:[email protected]> > De la part de Liglio Cavalcante via mapguide-users Envoyé : 13 juillet 2026 10:16 À : [email protected] <mailto:[email protected]> Cc : [email protected] <mailto:[email protected]> 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
_______________________________________________ mapguide-users mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/mapguide-users
