[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hex to string or char
you could decompile the java.net.URLDecoder in a later version of JDK
and see how it is done...
On Tue, 6 Aug 2002, Bill Woodson wrote:
> Hi All,
>
> I am working with version 1.1.8 of the JDK, which includes an Encode object for encoding URL data. I need to decode it so I must write one myself. I am looping through the characters in the string and when I find a % I know I have a hex value to convert. The next two values are the hex digits. How do I get them into a String or character object (decoded that is)?
>
> Thanks,
> Bill
>
>