Hi,
I am trying to use the jstl i18n tag library to display multilingual
content.
I use UTF-8 encoding on my jsp pages. The problem is that the
only content that gets displayed correctly is the one that
uses the default of the system. The other ones get displayed as a series of
question marks.
First I tryied to use a properties file that I converted to Unicode-encoded
with native2ascii. All the content got displayed as question marks.
The next step was to use a ListResourceBundle and I created my java source
files in UTF8. I used the -encoding UTF8 argument in javac.
Only the default language got displayed as it should.
I am under the impression, that the i18n tag overrides the encoding in jsp
pages with something else (system defult?). Is there a workaround on this?
Why UTF8 is not supported?
I also wrote a simple test bean that uses the same resource bundle,
and with that I was able to display all four languages I use as they are
supposed to (using the ListResourceBundle).
But I really don't want to re-invent the wheel, and would like to use the
standard library.
Thanks in advance.
Joan
_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
--
To unsubscribe, e-mail: <mailto:taglibs-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@;jakarta.apache.org>
- Re: utf8 encoding problem Joan Foo
- Re: utf8 encoding problem Vernon Wu
- Re: utf8 encoding problem Joan Foo
- Re: utf8 encoding problem Vernon Wu
- Re: utf8 encoding problem Joan Foo
- Re: utf8 encoding problem Vernon Wu
