Hi all, I couldn't seem to make Tapestry to work with the UTF-8 encoding.
I am using Tomcat 5.5.12. As far as I know, the tomcat is setup correctly because it has no problem returning UTF-8 responses for jsp and non-tapestry HTML pages. Here are my Home.page and Home.html. Home.page ----- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE page-specification PUBLIC "-//Apache Software Foundation//Tapestry Specification 4.0//EN" "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd"> <page-specification class="com.ttdev.HelloWorld.Home"> <component id="subject" type="Insert"> <binding name="value" value="greetingSubject"/> </component> </page-specification> Home.html --------------- <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body> <p>hello <span jwcid="subject">world</span>!</p> <p>中文测试</p> (harded chinese text here, but it shown up as garbage ) <BR> TEST2 </body> </html> Besides the content type declaration in the files, the files themselves are also encoded in UTF-8. But when I run the appllication, the hard-coded chinese text shown up as garbage. Am I missing something? What are the proper settings to create a UTF-8 application in Tapestry. Thanks! Galam.