How can I include MByte characters in URL's used by components?

A problem with the "URL" property of the Image component was found. It does not work with non-ISO-8859-1 characters in the string. This has turned out to be a bug in the JSF RI https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=463.

One workaround is to transcode your String to ISO-8859-1 using something like http://www.exampledepot.com/egs/java.nio.charset/ConvertChar.html?l=rel

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo