Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

vb.net char encoder

Posted on 2013-01-20
5
Medium Priority
?
366 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 2000 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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

877 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