Discussion:
WOLips HTML formatter woes
Ondřej Čada
2012-02-23 11:00:48 UTC
Permalink
Hello there,

is it possible to make the thing *not* to turn accented characters to HTML entitites?

When I put "á" into my UTF-8 HTML template, I'd rather it stayed "á"; that it gets turned into á is extremely annoying.

Thanks and best,
---
Ondra Čada
OCSoftware: ***@ocs.cz http://www.ocs.cz
private ***@ocs.cz http://www.ocs.cz/oc
doug andrews
2013-03-20 13:37:42 UTC
Permalink
We have had similar issues translating our app to French.

Make sure your wod files have the proper encoding.
Something like:
encoding = NSUTF8StringEncoding;

Also, add this line in your Application class:
WOMessage.setDefaultEncoding("UTF8");
Post by Ondřej Čada
Hello there,
is it possible to make the thing *not* to turn accented characters to HTML entitites?
When I put "á" into my UTF-8 HTML template, I'd rather it stayed "á"; that it gets turned into á is extremely annoying.
Thanks and best,
---
Ondra Čada
_______________________________________________
WebObjects-dev mailing list
http://www.omnigroup.com/mailman/listinfo/webobjects-dev
Loading...