Solved

vb.net char encoder

Posted on 2013-01-20
5
356 Views
Last Modified: 2013-01-21
hello there,
I am having some difficulties trying to accomplish the same thing as on this site..

for example chars like this
%00
%01
%02

bottom of this page

URL Encoding Reference
https://sites.google.com/site/solopurotutoriales/html/html-url-encoding-reference

how can I encode the same chars but in vb.net?
0
Comment
Question by:XK8ER
  • 2
  • 2
5 Comments
 
LVL 39

Expert Comment

by:appari
ID: 38799645
0
 
LVL 1

Author Comment

by:XK8ER
ID: 38799667
i tried using HttpUtility.UrlEncode but its not really working..
0
 
LVL 39

Expert Comment

by:appari
ID: 38799671
what exactly is not working? can you post the data and the result you are getting?
0
 
LVL 1

Author Comment

by:XK8ER
ID: 38799681
HttpUtility.UrlEncode("%01")

or

HttpUtility.UrlEncode("%00")
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 38800669
>HttpUtility.UrlEncode("%01")

That would be

HttpUtility.UrlDecode("%01")


Encode returns the %01, %02 etc by taking the ASCII characters as input. You are using it the other way round.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now