[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: To pre, or not to pre...



On Tue, Dec 16, 2008 at 5:44 PM, Muayyad AlSadi <alsadi gmail com> wrote:
>> print '\n%s encoding on %s\n' % (enc, item)
> was it piped
>
> because when a print is piped python won't do str.encode('utf-8')
> because it does not know the encoding of the pipe
>
> but when it's on terminal it could guess the output encoding

That output was from the terminal, which I tried because I was getting
the same traceback from the graphical wizard...

jerry

-- 
To be named later.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]