×

Discussion Board

Results 1 to 4 of 4

Thread: URL decoding

  1. #1
    Nokia Developer Champion
    Join Date
    Dec 2008
    Posts
    2,356

    URL decoding

    Hi ,


    I am trying to decode URL encoded string.
    I tried this
    Code:
    string Str= System.Web.HttpUtility.UrlDecode(e.Result);
    But didn't work.
    I am looking for an alternative of
    Code:
    NameValueCollection DecodedResult = System.Web.HttpUtility.ParseQueryString(Str);
    in Windows Phone.

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2013
    Location
    Dublin, Ireland
    Posts
    551

    Re: URL decoding

    the URI class has a few helper methods such as Uri.EscapeUriString and Uri.EscapeDataString. If you want access to the URL params (eg ?x=y&a=b) then here are two implementations of ParseQueryString I found...

    https://code.google.com/p/google-gda...ility.cs?r=961

    http://dotnetautor.de/blog/2012/06/2...eryString.aspx
    Last edited by theothernt; 2013-06-18 at 16:55.

  3. #3
    Registered User
    Join Date
    Jun 2013
    Posts
    19

    Re: URL decoding

    download this http://htmlagilitypack.codeplex.com/ and look at its method. best way to parse html

  4. #4
    Nokia Developer Champion
    Join Date
    Feb 2013
    Location
    Dublin, Ireland
    Posts
    551

    Re: URL decoding

    Quote Originally Posted by Harneet View Post
    download this http://htmlagilitypack.codeplex.com/ and look at its method. best way to parse html
    This has nothing to do with HTML. Please *read* the current thread before replying as you don't seem to be.

Similar Threads

  1. AAC Decoding
    By Arun_Dev in forum Symbian Media (Closed)
    Replies: 16
    Last Post: 2009-12-09, 05:28
  2. Decoding video H.263
    By gpalvia in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2008-02-06, 14:08
  3. Hardware H.263 Decoding
    By tcsclarke in forum Symbian
    Replies: 8
    Last Post: 2007-10-19, 11:42
  4. DVI/RTP packets decoding
    By cs02lk1 in forum Mobile Java Media (Graphics & Sounds)
    Replies: 3
    Last Post: 2007-07-12, 02:15
  5. Decoding the notification pdu
    By muralimohank in forum General Messaging
    Replies: 5
    Last Post: 2003-08-17, 12:04

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×