This content has been marked as final. Show 2 replies
Welcome to the forum!
This is problem is all known by oracle since 2001 and what is the workaround for this problem i can't find it anywhere.
DecMagTitleString = URLDecoder.decode("New+ScientistOctober132012", "UTF-8");
String index out of range: -1
DecMagTitleString = URLDecoder.decode("New+ScientistOctober1320122", "UTF-8");
What is the basis of your statement?
This is problem is all known by oracle since 2001
Post a web link or doc citation.
Both of those examples work just fine in XP sp3 using JDK 1.6.0_22
What's the betting that the index out of range exception is nothing at all to do with URLDecoder and happens on a different line than the one indicated. I'm always fascinated when newcomers to Java jump to the conclusion that errors exhibited by their code are due to bugs in Java and are not due to bugs in their code.