rt APACHE_PID_FILE=/var/run/apache2.pid
>
> > > > ## The locale used by some modules like mod_dav
> > > > export LANG='el_GR.UTF8' <- also tried el_GR.UTF-8 variation
> > > > export LC_ALL='el_GR.UTF8'
> > > > ## Uncomment the
; > > instead:
> > > #. /etc/default/locale
> >
> > > export LANG
> >
> > >
> ---
> --
> >
> > > Have you got any clues what may caus
> > u'foo'
> > > >>> unicode(u'foo', 'utf-8')
>
> > > Traceback (most recent call last):
> > > File "", line 1, in
> > > TypeError: decoding Unicode is not supported
>
> > > So I would assume w
es.
> >
> > Taking django out of the picture for a moment:>>> unicode('foo', 'utf-8')
> > u'foo'
> > >>> unicode(u'foo', 'utf-8')
> >
> > Traceback (most recent call last):
> > File "
ing django out of the picture for a moment:>>> unicode('foo', 'utf-8')
> u'foo'
> >>> unicode(u'foo', 'utf-8')
>
> Traceback (most recent call last):
> File "", line 1, in
> TypeError: decoding Uni
unicode gives me nightmares.
Taking django out of the picture for a moment:
>>> unicode('foo', 'utf-8')
u'foo'
>>> unicode(u'foo', 'utf-8')
Traceback (most recent call last):
File "", line 1, in
TypeError: deco
Hi
I'm currently developing a django project and i've encountered a
problem regarding Unicode string manipulation.
There is a backend python module in my project that perform's mainly
shutil (shell utilities) tasks.
I get an TypeError: "decoding Unicode is not supported"
7 matches
Mail list logo