I want to send a label and rest of web page using the same specific Locale. But I see a problem in Tiles. This sends output in UTF-8 charset, and displays correct output
<%@ page language="java" contentType="text/html; charset=UTF-8" %> ... <fmt:bundle basename="bundle"> <fmt:message key="sample" /> <region:put section='content' content='home.jsp'/> </fmt:bundle> but this, when Tiles executes fmt:setLocale, will send output in default ISO-8859-1 encoding, and as a result display not English characters as gibberish <%@ page language="java" contentType="text/html; charset=UTF-8" %> ... <fmt:setLocale value="<%= locale %>" /> <fmt:bundle basename="bundle"> <fmt:message key="sample" /> <region:put section='content' content='home.jsp'/> </fmt:bundle> I ran a number of tests and looked at the JSTL source code and found, that the problem occurs after fmt:setLocale tag internally calls the response.setLocale(locale); Any advice? -- Evgeny Javadesk __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]