[mapguide-users] SV: Get Garbled in SelectionPanel (fusion)
D.Ootaka
dootaka at solxyz.co.jp
Wed Jun 25 05:55:45 EDT 2008
Hi all,
Thanks so much, Måns.
I checked some datasets with Japanese characters in them, and your fix works
fine.
Additionally I tried that with MapGuide Enterprise 2009 (only pathed
Utilities.php), and it's works fine too.
(IE7, Firefox3)
Thanks all.
Best Regards,
Ootaka
Mans Beckman wrote:
>
> Hi,
>
> Found a way to fix it!
>
> I have tried both with my own datasets and the datasets with Japanese
> characters in them and my fix seems to work for both.
>
> I'm not sure if I should post the fix here or on the fusion mail list, so
> if the right person just could have a look at it, I hope that the right
> person reads this email, and patch the code.
>
> Ok, so in \WebServerExtensions\www\fusion\MapGuide\php\Utilities.php
>
> Change row 863 from
> $value = htmlentities($value);
> To
> $value = htmlentities($value,ENT_COMPAT,'UTF-8');
>
> That would do the trick.
>
> Best regards
> Måns
>
--
View this message in context: http://www.nabble.com/Get-Garbled-in-SelectionPanel-%28fusion%29-tp18064719p18108726.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list