Hi, Thanks for reporting this. I already fill a JIRA[1] for it. [1] https://issues.apache.org/activemq/browse/CAMEL-2554
Willem ariablu wrote:
If set non-ascii character in any uri (example <to uri="sql:select (non-ascii character)">), IndexOutOfBoundsException occurs at --------------- Class: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/util/UnsafeUriCharactersEncoder.java?view=markup [line 67] if (unsafeCharacters.get(bytes[i])) { --------------- I think, [line 65] byte[] bytes = s.getBytes("UTF8"); An byte object can have -128..127, but unsafeCharacters[0..256] Thanks.