Hi Bruce,
I think that the piece that you are missing is the following:
Java programs can process only those files that are encoded in Latin-1 (ISO
8859-1) encoding or files in Unicode encoding. Any other files containing
different encodings besides these two will not be processed. The
native2ascii tool is used to convert such non Latin-1 or non-Unicode files
into a Unicode encoded file. Any characters that are not in ISO 8859-1 will be
encoded using Unicode escapes. For example, if you have a file encoded in a
different language, say myCyrillicFile in Cyrillic, you can use the native2ascii
tool to convert it into a Unicode encoded file as follows:
native2ascii –encoding UTF-8 myCyrillicFile myUnicodeFile
You can use other encodings besides UTF-8 too. Use the above tool on the
Struts prorperties files (message resource bundles) containing non Latin-1
encoding. Without this conversion, the Struts application (or java for that matter)
will not be able to interpret the encoded text. Consequently the
<bean:message> and <html:errors/> will display garbage.
Good luck,
Paolo