[Chameleon-dev] [Bug 1329] [Chameleon-Core]Text on some popup widgets is encoded

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Thu Mar 9 11:20:51 EST 2006


http://bugzilla.maptools.org/show_bug.cgi?id=1329





------- Additional Comments From nsavard at mapgears.com  2006-03-09 11:20 -------
In the MLT arrayToFile() method where the resource is encoded, I suggest to
decode the resource before it will be encoded. I modified the code and copied it
here to show what I meant.  I tested it and it seems to solve the problem.  What
do you think?

                         ...

                // loop through each resource
                foreach ( $aszLanguage as $szResourceKey=>$szResource )
                {
                    // add entry
                    $szBuffer .= '$this->aszMLT[\''.$szContextKey.'\'][\''.
                        $szLanguageKey.'\'][\''.$szResourceKey.'\'] = \''.
                        urlencode(  urldecode($szResource) ).'\';'."\n";     
                }
            }
                        ...



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Please do NOT reply to this email, use the link above instead to 
login to bugzilla and submit your comment. Any email reply to this
address will be lost.


More information about the Chameleon-dev mailing list