Re: TypeError: decoding Unicode is not supported

2010-08-04 Thread sohesado
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

Re: TypeError: decoding Unicode is not supported

2010-08-04 Thread Alec Shaner
; > > instead: > > > #. /etc/default/locale > > > > > export LANG > > > > > > --- > -- > > > > > Have you got any clues what may caus

Re: TypeError: decoding Unicode is not supported

2010-08-04 Thread sohesado
> > 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

Re: TypeError: decoding Unicode is not supported

2010-08-04 Thread Alec Shaner
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 "

Re: TypeError: decoding Unicode is not supported

2010-08-04 Thread sohesado
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

Re: TypeError: decoding Unicode is not supported

2010-08-03 Thread Alec Shaner
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

TypeError: decoding Unicode is not supported

2010-08-03 Thread sohesado
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"