Solved

vb.net char encoder

Posted on 2013-01-20
5
357 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL LINE CONTINUATION ISSUE 12 33
How come this regular expression allows "e"? 14 38
vb.net class 3 15
SQL Query Help Top 1 and Distinct? 6 26
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

777 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