Hi Dmitry as far as I know the Java properties files must be in ASCII code. (so much to the Unicode support in Java :-)). I had the same problem (well I tried to use UTF-8 in the properties file). After changing to the \uxxx codes it worked.
Martin > -----Ursprüngliche Nachricht----- > Von: Dmitry Sivachenko [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 31. Juli 2006 14:26 > An: user@struts.apache.org > Betreff: Problem with message property files in russian language > > > Hello! > > I use tomcat 5.5 and struts 1.2.9. I do all development > under Windows OS. > > I am developing an application which outputs data in Russian > language (windows-1251 encoding). > > Consider the following JSP excerpt: > > <[EMAIL PROTECTED] contentType="text/html; charset=windows-1251"%> > <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %> > > <html> > <head> > <title>Заголовок</title> > </head> > > Текст > <body> > <html:errors/> > </body> > </html> > > html:errors hash is filled in ActionForm's validate() > function in the following way: > > errors.add("no.login.username", new > ActionMessage("no.login.username")); > > Properties file contains messages written in Russian language > (windows-1251 encoding). > > This JSP displays all hardcoded russian text correctly, but > all <html:errors> messages have '?' instead of letters. > > What am I doing wrong? > > Thanks in advance! > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]