On Thursday, 19 February 2015 12:17:24 UTC-7, kcrisman wrote: > > >> f.write(old_heading + g.read()) >> exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte >> 0xc2 in position 5454: ordinal not in range(128) >> >> Any help would be appreciated. >> > > I would recommend looking at what happens when you do them - which > worksheet seems to trigger this? My guess is there is some unusual > character, see for instance > > http://stackoverflow.com/questions/16508539/unicodedecodeerror-ascii-codec-cant-decode-byte-0xc2 > or > http://blog.webforefront.com/archives/2011/02/python_ascii_co.html > for some details - maybe it even is the same character in question. I > guess we need to ask this to be written with utf-8 or something. Andrey, > any suggestions? >
Well, my guess is that there are some worksheet titles with non-Latin characters. Luis - do you have any? Can you try to download them separately and in a small group? (Separately meaning a single one into sws file, and a group means two or more that should be packed into an archive.) I am not sure where exactly encoding commands should be added, but to start with we need a reproducible behaviour. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
