aspose file tools*
The moose likes Struts and the fly likes struts and encoding Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts and encoding" Watch "struts and encoding" New topic
Author

struts and encoding

ertan eyimaya
Greenhorn

Joined: Feb 16, 2005
Posts: 14
Hi,

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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: struts and encoding