What line?

On Jan 17, 10:16 pm, ttsujie <ttsu...@gmail.com> wrote:
> First I don't know that it's need to update default version setting
> after update version at app.yaml.
> After update default version, that go good.
> I'm sorry for lack of my GAE knowlege.
> (I'm ashamed..)
>
> Anyway if someone encounter the same problem, this thread is useful.
> (I'm not sure this is the best way or not. But it's good in my case.)
>
> gluon/html.py modified.
>          else:
> -            _value = str(self['_value'])
> +            if isinstance(self['_value'],unicode):
> +                _value = self['_value'].encode('utf-8')
> +            else:
> +                _value = str(self['_value'])
>          if t == 'checkbox' and not '_checked' in self.attributes:
>
> On 1月18日, 午前9:26, ttsujie <ttsu...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Thank you for replay.
>
> > I tried, but the same error message.
> > (app_devserver NG, GAE NG)
>
> > I think it's strange that error message is "UnicodeEncodeError", is
> > not "UnicodeDecodeError"...
>
> > On 1月18日, 午前7:44, howesc <how...@umich.edu> wrote:
>
> > > try decode instead of encode (the string is encoded in utf-8 and you are
> > > trying to decode):
>
> > > mystr.decode("utf-8")
>
> > > it was a different but similar problem that i had on GAE that i solved 
> > > this
> > > way.
>
> > > good luck!
>
> > > cfh

Reply via email to