• Post Reply Bookmark Topic Watch Topic
  • New Topic

struts and encoding  RSS feed

ertan eyimaya
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

In my application I have 2 resource files: ApplicationResources.properties(for english) and ApplicationResources_tr.properties(for Turkish). All the titles, labels are read from these resources. But when I change the language of the Internet Explorer(Options-->languages) to Turkish(tr), Turkish characters are not shown. Everything is well when the language is English(en-us).

I did not set the encoding in pages(jsps, htmls) by using for example <%@ page contentType="text/html;charset=ISO-8859-9"%> because Struts choose resource file from Locale and I think it must set the encoding but does not. !!!

How can I solve the encoding for my struts application?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!