Solved

vb.net char encoder

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

705 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

13 Experts available now in Live!

Get 1:1 Help Now