Alejandro, unfortunately, adding the XML declaration doesn't help. . This obviously wouldn't be an issue if a) I was running my own JVM, which in most situations where one hosts an application is the case (unfortunately, not the case in PAAS like GAE) or b) Tapestry didn't use the default platform character set.
Looking at the patch attached to TAP5-1778, I'm not entirely sure if I can just override a specific service, as the patch appears to touch a whole bunch of classes, which probably means that if I can override this class, I'll probably have a copy a whole bunch of T5 source code to do that. The alternative seems to be to just apply the patch to tapestry-core and deploy my own build. The strange part is that this used to work - when I originally deployed this application to GAE a couple of years ago, the localized templates rendered just fine. I remember reading that GAE did change linux distro underneath their infrastructure (maybe some version of Debian); however, changing the default character set to US-ASCII hardly makes sense for a platform provider. There is an existing GAE issue to which I added some comments - https://code.google.com/p/googleappengine/issues/detail?id=2219 - feel free to add your own :-) Cheers - On Wed, May 22, 2013 at 5:23 AM, Alejandro Scandroli < alejandroscandr...@gmail.com> wrote: > Josh Canfield 've asked a very good question in TAP5-1778. > does Tapestry respect the XML declaration for changing charset? > > Have you tried adding an xml header to your templates?, like: > <?xml version="1.0" encoding="UTF-8" ?> > > > Alejandro. > > On Wed, May 22, 2013 at 9:49 AM, Lance Java <lance.j...@googlemail.com> > wrote: > > I think you've hit the nail on the head and that this relates to > TAP5-1778. > > > > As a work around, can you put your special chars in a language specific > > properties file? By default, prop files are treated as UTF-8. You can > also > > override the PropertiesFileParser if you need. > > > > Another option is to override the TemplateParser service to use UTF-8. > See > > the patch attached to the issue. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >