Re: Unicode Decode Error

2010-10-11 Thread Ian Kelly
On Mon, Oct 11, 2010 at 3:44 PM, Pratik Khemka wrote: > I tried to solve it using this *wbk = xlwt.Workbook('utf-8')... *The > problem still persists. Is there a way I can solve this problem..? > > *Traceback (most recent call last): > File "C:\Documents and Settings\pkhemka\My Documents\merge_

RE: Unicode Decode Error

2010-10-11 Thread Pratik Khemka
es\xlwt\Workbook.py", line 306, in add_str return self.__sst.add_str(s) File "C:\Python25\Lib\site-packages\xlwt\BIFFRecords.py", line 24, in add_str s = unicode(s, self.encoding) UnicodeDecodeError: 'utf8' codec can't decode byte 0x92 in position 152: unexpec

Re: Unicode Decode Error

2010-10-08 Thread Ian Kelly
On Fri, Oct 8, 2010 at 3:31 PM, Pratik Khemka wrote: > *UnicodeDecodeError: 'ascii' codec can't decode byte 0x92 in position > 152: ordinal not in range(128)*. Can someone please help me with this > error > The error occurs in line *wbk.save(p4_merge.xls)*. I have used * > import xlwt*..Can some

Re: Unicode Decode Error

2010-10-08 Thread Chris Rebert
On Fri, Oct 8, 2010 at 2:31 PM, Pratik Khemka wrote: > UnicodeDecodeError: 'ascii' codec can't decode byte 0x92 in position 152: > ordinal not in range(128). Can someone please help me with  this error > The error occurs in line wbk.save(p4_merge.xls). I have used > import xlwt..Can someone just t

Re: Unicode Decode Error

2009-04-09 Thread John Machin
On Apr 10, 12:40 am, MRAB wrote: > reetesh nigam wrote: > > Hi All, > > There is some special character in my database. > > and when try to show on my UI it says > > >     return codecs.utf_8_decode(input, errors, True) > > UnicodeDecodeError: 'utf8' codec can't decode byte 0xc4 in position > > 10

Re: Unicode Decode Error

2009-04-09 Thread MRAB
reetesh nigam wrote: Hi All, There is some special character in my database. and when try to show on my UI it says return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xc4 in position 10: unexpected end of data Can any one help to solve this p