• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: UTF8 encoding - how?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UTF8 encoding - how?


  • Subject: Re: UTF8 encoding - how?
  • From: Theodore Petrosky <email@hidden>
  • Date: Tue, 11 Jun 2013 17:19:34 -0700 (PDT)

and all WebObjects developers double as French Models in their extensive spare time

--- On Tue, 6/11/13, Ken Anderson <email@hidden> wrote:

> From: Ken Anderson <email@hidden>
> Subject: Re: UTF8 encoding - how?
> To: "Chuck Hill" <email@hidden>
> Cc: "WebObjects-dev apple dot com" <email@hidden>
> Date: Tuesday, June 11, 2013, 8:13 PM
> UGH - copied straight from the
> web.  I thought everything on the internet was true…
>
> On Jun 11, 2013, at 4:59 PM, Chuck Hill <email@hidden>
> wrote:
>
> > Also note that it is UTF-8 not UTF8.
> >
> > Chuck
> >
> >
> > On 2013-06-11, at 1:55 PM, Alexis Tual wrote:
> >
> >> 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@hidden>
> >> 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@hidden)
> >> Help/Unsubscribe/Update your Subscription:
> >>
> >> This email sent to email@hidden
> >>
> >>
> >> _______________________________________________
> >> Do not post admin requests to the list. They will
> be ignored.
> >> Webobjects-dev mailing list      (email@hidden)
> >> Help/Unsubscribe/Update your Subscription:
> >>
> >> This email sent to email@hidden
> >
> > --
> > Chuck Hill         
>    
> > Executive Managing Partner, VP Development and
> Technical Services
> >
> > Practical WebObjects - for developers who want to
> increase their overall knowledge of WebObjects or who are
> trying to solve specific problems.   
> > http://www.global-village.net/gvc/practical_webobjects
> >
> > Global Village Consulting ranks 13th in 2012 in BIV's
> Top 100 Fastest Growing Companies in B.C!
> >
> > Global Village Consulting ranks 44th in 25th annual
> PROFIT 500 ranking of Canada’s Fastest-Growing Companies
> by PROFIT Magazine!
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
>
>  _______________________________________________
> Do not post admin requests to the list. They will be
> ignored.
> Webobjects-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Re: UTF8 encoding - how? (From: Ken Anderson <email@hidden>)

  • Prev by Date: Re: Globally inspecting and conditionally altering fetch spec
  • Next by Date: Re: UTF8 encoding - how?
  • Previous by thread: Re: UTF8 encoding - how?
  • Next by thread: Web conference system for WOWODC
  • Index(es):
    • Date
    • Thread