You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Oleg V Alexeev <go...@penza.net> on 2000/09/09 23:37:43 UTC

right way to use message tag

Hello Craig,

There are not any problems with message tag, sorry.
Some history.. Some days ago I post here info about '?' signs in
results of work of message tag. I write resource bundle for Russian
language in cp1251 codepage and try to use it in JSP pages with
directive

<%@ page contentType="text/html;charset=windows-1251" %>

After that all results of work of message tag from struts library
became strings of '?'.

This problem can be solved by standart way with jdk1.3 tool
native2ascii. All localized content from resource bundles must be
converted to Unicode and after that strings generated with
messages tag in JSP pages would be OK.

-- 
Best regards,
 Oleg                            mailto:gonza@penza.net