Results 1 to 3 of 3
Thread: Ascii To URL Assistance Needed
- 03-10-2010, 12:00 AM #1
Member
- Join Date
- Feb 2010
- Posts
- 16
- Rep Power
- 0
Ascii To URL Assistance Needed
Can someone give me an example of this:
1)The ASCII characters a through z, A through Z, 0 through 9, _ (underscore), - (dash), . (dot), and * (asterisk) remain the same.
2) The space (blank) character is converted into a plus sign +.
3) All other characters are converted into the 3-character String %xy where xy is the two-digit hexadecimal representation of the lower 8-bits of the character.
I just need some help with this i need some examples of code to do this so i can get working on a project that i need to make read lines of text and turn it into string and input it into a url.
- 03-10-2010, 03:57 AM #2
Other than homework, I don't see any reason to reinvent java.net.URLEncoder, right down to copying the spec from the javadoc. So, since this is homework, you're expected to do it yourself.
db
- 03-10-2010, 04:35 AM #3
Member
- Join Date
- Feb 2010
- Posts
- 16
- Rep Power
- 0
Similar Threads
-
Error assistance
By bobbychiken in forum New To JavaReplies: 2Last Post: 11-21-2009, 10:54 PM -
Looking for assistance
By s_dawg101 in forum New To JavaReplies: 32Last Post: 11-04-2009, 02:49 AM -
New to the forum + assistance :)
By quemadissimo in forum New To JavaReplies: 4Last Post: 10-31-2009, 06:41 AM -
In need of some assistance
By Boer84 in forum New To JavaReplies: 2Last Post: 07-08-2008, 04:14 PM -
X-Tremely new to this...Need assistance...
By Johnny562 in forum New To JavaReplies: 5Last Post: 07-01-2008, 09:17 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks