[mapguide-users] Get Garbled in SelectionPanel (fusion)
    D.Ootaka 
    dootaka at solxyz.co.jp
       
    Tue Jun 24 01:41:24 EDT 2008
    
    
  
Thanks, Paul
I tried to wrap the output in utf8_encode, but not good...
1. wrap $result
Selection.php / Line 144
echo utf8_encode(var2json($result));
http://www.nabble.com/file/p18084122/utf8_encode_result.png
utf8_encode_result.png 
2. wrap property value
Selection.php / Line 132
for($k=0; $k<count($properties->$layerName->values[$j]); $k++){
    $result->$layerName->values[$iIndice][$k] =
utf8_encode($properties->$layerName->values[$j][$k]);
}
http://www.nabble.com/file/p18084122/utf8_encode_value.png
utf8_encode_value.png 
Regards.
Ootaka
Paul Spencer-5 wrote:
> 
> Um, I would expect that this is because the data coming from the  
> fusion backend is not being properly encoded.  This came up recently  
> on the list and the proposed solution was to wrap output of text in  
> the utf8_encode function.
> 
> For the selection panel, this would probably be coming from mapguide/ 
> php/Selection.php - if you modify this file to wrap the output in  
> utf8_encode and it works, please let us know.
> 
> Cheers
> 
> Paul
> 
-- 
View this message in context: http://www.nabble.com/Get-Garbled-in-SelectionPanel-%28fusion%29-tp18064719p18084122.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
    
    
More information about the mapguide-users
mailing list