• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

struts and encoding

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!