Problem with encoding
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Problem with encoding Expand / Collapse
Author
Message
Posted 12/7/2007 7:49:38 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 12/7/2007 11:24:51 AM
Posts: 1, Visits: 5
Hi,

We've been confronted with some difficulties, using maps components.

We assign URL to each region in map. It contains parameter with russian letters, which we encode. So we've got element like this in XML:

entity id="SOME_TEXT" value="28.98" link="VIT-03.aspx?Parameter1=%5b%d0%a0%d0%b5%d0%b3%d0%b8%d0%be%d0%bd%d1%8b+%d0%a0%d0%a4%5d.%5b%d0%a0%d0%9e%d0%a1%d0%a1%d0%98%d0%99%d0%a1%d0%9a%d0%90%d0%af+%d0%a4%d0%95%d0%94%d0%95%d0%a0%d0%90%d0%a6%d0%98%d0%af%5d.%5b%d0%94%d0%90%d0%9b%d0%ac%d0%9d%d0%95%d0%92%d0%9e%d0%a1%d0%a2%d0%9e%d0%a7%d0%9d%d0%ab%d0%99+%d0%a4%d0%95%d0%94.+%d0%9e%d0%9a%d0%a0%d0%a3%d0%93%5d"

It works fine, when we use Firefox. In URL address we've got the same URL we assigned in XML.
When we use IE, address in URL is changed to ... VIT-03.aspx?Parameter1=[Регионы%20РФ].[РОССИЙСКАЯ%20ФЕДЕРАЦИЯ].[ДАЛЬНЕВОСТОЧНЫЙ%20ФЕД.%20ОКРУГ].

Could you please tell us, if we do something wrong, or may be, as we think, it's a bug in flash.
Post #3294
Posted 12/18/2007 3:44:17 PM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Forum Members
Last Login: 8/26/2008 8:21:01 PM
Posts: 43, Visits: 74
How are you enoding the string?
If you are doing this through javascript, I found I needed to double escape everything after the question mark '?'.

Post #3414
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 4:40am


Execution: 0.172.