Re: unicode problems in admin interface

2014-09-22 Thread Jaap van Wingerde
Op 2014-09-18T13:41:53 UTC schreef Jaap van Wingerde in het bericht , ID: <20140918134153.390fc...@jaap.custard.shrl.nl> het interface>volgende. > I have suddenly unicode problems with de admin interface: > > "DjangoUnicodeDecodeError at /admin/art/photographextra/ > > 'ascii' codec can't deco

Re: unicode problems in admin interface

2014-09-20 Thread Jaap van Wingerde
Op 2014-09-19T15:58:59 UTC schreef Collin Anderson in het bericht , ID: interface> het volgende. > Are you uploading a file using apache? It could be > the /etc/apache2/envvars issue. No, it is an issue with Django/admin. > Are you ever using string formatting like "something %s something" %

Re: unicode problems in admin interface

2014-09-19 Thread Collin Anderson
Are you uploading a file using apache? It could be the /etc/apache2/envvars issue. Are you ever using string formatting like "something %s something" % something ? If so, use unicode_literals or change that to a unicode string: u"something %s something" % something -- You received this messag

Re: Unicode problems

2011-04-28 Thread Michael Radziej
On Thu, 28 Apr 2011 00:49:40 -0300, Daniel França wrote: > I'm getting a lot of problems saving and reading from files with special > characteres in name, using the django-avatar lib. > > The truth is that I don't really understand the way python/django handle > unicodes, for example, I suspect

Re: Unicode problems

2010-03-22 Thread Tom Evans
On Sun, Mar 21, 2010 at 9:00 PM, Ruturaj Dhekane wrote: > Hi, > > I am designing a portal that uses Hindi language using Django. > When I pass a hindi word from client side to server, in Unicode format, it > gets converted to कर्मचारी > type of string on server side. > > I want to process this str

Re: Unicode problems

2010-03-22 Thread Daniel Roseman
On Mar 21, 9:00 pm, Ruturaj Dhekane wrote: > Hi, > > I am designing a portal that uses Hindi language using Django. > When I pass a hindi word from client side to server, *in Unicode format*, it > gets converted to > *कर्मचारी*type of > string on server side. > > I want to process this string as u