Hi Ken, have you tried with just er.extensions.ERApplication.DefaultEncoding=*UTF-8 *(with other stuff removed)* ?*
Hope it helps, Alex 2013/6/11 Ken Anderson <[email protected]> > Gang, > > I've been pulling my hair out for hours… I'm hoping someone has an idea. > > I'm pulling data down from Google Places that has UTF-8 encoded characters > in it. When I try to display it in WO/WOnder, the special characters turn > into question marks. > > I have set every imaginable value: > > er.extensions.ERXApplication.DefaultMessageEncoding=UTF8 > > ERXResponse.setDefaultEncoding("UTF8"); > ERXResponse.setDefaultHeaderEncoding("UTF8"); > WOMessage.setDefaultEncoding("UTF8"); > > public void takeValuesFromRequest(WORequest r, WOContext c) { > r.setDefaultFormValueEncoding("UTF8"); > super.takeValuesFromRequest(r,c); > } > > public void appendToResponse(WOResponse r, WOContext c) { > r.setContentEncoding("UTF8"); > super.appendToResponse(r,c); > r.setHeader("text/html;charset=utf-8", "Content-Type"); > } > > > private boolean enableUTFEncoding = false; > > > public void enableUTFEncoding() { > enableUTFEncoding = true; > WOMessage.setDefaultEncoding(_NSUtilities.UTF8StringEncoding); > } > > > However, when I inspect the WOResponse, it says ISO-8859-1 encoding. Any > thoughts? > > Thanks in advance! > Ken > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > > https://lists.apple.com/mailman/options/webobjects-dev/alexis.tual%40gmail.com > > This email sent to [email protected] > >
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
