NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 11 12 13 14 15 … 93 Next »
How to convert special characters to use for a URL

 
  • 0 Vote(s) - 0 Average
How to convert special characters to use for a URL
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,591
Threads: 386
Joined: Dec 2004
#1
2012-01-21, 04:41 PM
If I want to convert a path (for example) to the escaped characters used in an HTTP url are there any easy conversion methods to do this in code rather than manually using 'replace' on strings?

For instance...

D:\folder\some filename.abc

would be passed as

D%3a%5cfolder%5csome+filename.abc

Any quick and easy way of doing that?

Cheers,
Brian
imilne
Offline

Posting Freak

Posts: 2,423
Threads: 135
Joined: Feb 2008
#2
2012-01-21, 04:52 PM
This help? (Typing on a phone so can't be sure).

msdn.microsoft.com/en-us/library/zttxte6w.aspx

Iain
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,591
Threads: 386
Joined: Dec 2004
#3
2012-01-21, 05:35 PM
imilne Wrote:This help? (Typing on a phone so can't be sure).

msdn.microsoft.com/en-us/library/zttxte6w.aspx

Iain
Close enough, thanks. Smile

Funny how a simple word like 'encode' had totally escaped me and I couldn't work out what I should be searching for. That link pointed me at what I needed.

Cheers,
Brian
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  How to convert the startTIme value in json response? JavaWiz 3 1,990 2020-04-25, 12:35 AM
Last Post: JavaWiz
  Scheduled_Recordings - Filename field limited to 50 characters? JavaWiz 6 4,582 2015-10-28, 10:46 PM
Last Post: JavaWiz
  Replace characters in strings bgowland 5 2,557 2013-07-06, 03:42 AM
Last Post: mvallevand
  special MVP code? scb147 31 8,588 2009-09-04, 02:50 AM
Last Post: scb147
  Swedish Characters in VB zehd 1 1,420 2006-11-15, 07:29 PM
Last Post: stefan
  Special elements bgowland 6 2,571 2005-11-22, 03:11 AM
Last Post: KingArgyle
  Special Elements maxil 2 1,678 2005-10-11, 11:05 PM
Last Post: maxil
  MVP Remote Special Keys ecruos 1 2,906 2004-04-14, 11:37 PM
Last Post: sub

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode