473,396 Members | 1,933 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

URL encoder in c++

Hi,

Could anyone suggest a nice, small url encoder/decoder class (or
function) with source code?
Thanks,
Metaosp
Feb 11 '06 #1
1 2539
TB
metaosp sade:
Hi,

Could anyone suggest a nice, small url encoder/decoder class (or
function) with source code?


Since a URI is only allowed to contain US-ASCII characters, all you
have to do is search through the string and replace each illegal
character with '%' + hexadecimal code. And space must be encoded
as '%20'. www.w3.org provides a complete specification, which
is not that long or hard to grasp. But remember not to encode
actual delimiters in the URI.

--
TB @ SWEDEN
Feb 11 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Paul Home | last post by:
Hi How come I always encountered this error after executing the following command ? C:\Inetpub\wwwroot\ASP>screnc admin.asp eadmin.asp Scripting encoder object ("Scripting.Encoder") failed on...
0
by: rockstar1971 | last post by:
Hello. I’m working with the Windows Media Encoder SDK to create an online jukebox for myself, but I’m having problems getting it to work. Here’s what I want to do: I’ve got a large...
3
by: Matt | last post by:
I'm trying to simply convert a .avi file recorded by our program to a wmv file, of course compressed as possible. I've looked at the examples provided by microsoft @...
0
by: Aaron Oxford | last post by:
Recently I tried installing the Windows Media Encoder SDK 9.5. Big mistake :-(, it's only got C++ support at this time and seems to have caused me a problem with my code, as well as refusing to...
0
by: Mamatha | last post by:
Hi I am developing small application in C#.NET,In that application when i click on one button,i want to display Windows Media Encoder Session Properties window. I searched in Google,and i got...
4
by: | last post by:
Hi all, we have a need to barcode encode and display a record identifier (number) both in html in the browser and through fdf in adobe acrobat in realtime. Is this possible? Can anyone make any...
0
by: Crisco www.misericordia.com.br | last post by:
Hi, friends! I am develop a simple encoder app, one form with one button that start the encoder. This is my code: ============================================================= Option...
0
by: Crisco www.misericordia.com.br | last post by:
Hi I m working on WEBRADIO Software. im using Windows media encoder 9 SDK on Windows 2003 server using VB.NET. My current scenario is my soundcard . My application will push my server the...
1
by: Geethu03 | last post by:
Hi I want to know the full details about the Query String encoder in PHP. How can i use the query string encoder in php.Please give the full details about the query string encoder. Thanks in...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.