Re: [Pydev-users] Pydev vs Python Interpreter

2010-05-10 Thread Fabio Zadrozny
On Mon, May 10, 2010 at 12:02 PM, Israel Ben Guilherme Fonseca wrote: > Well, but now i have another problem: the console output is set to ascii, > but the problem indeed is not the console output but the string encoding, > look at this example with the US-ASCII set: > > print u"ã" > > I'm telling

Re: [Pydev-users] Pydev vs Python Interpreter

2010-05-10 Thread Israel Ben Guilherme Fonseca
Well, but now i have another problem: the console output is set to ascii, but the problem indeed is not the console output but the string encoding, look at this example with the US-ASCII set: print u"ã" I'm telling that my string is indeed a unicode literal, and it should work fine but now it get

Re: [Pydev-users] Pydev vs Python Interpreter

2010-05-10 Thread Fabio Zadrozny
On Mon, May 10, 2010 at 9:35 AM, Israel Ben Guilherme Fonseca wrote: > Hi, > > I read in the past emails about encoding problems with pydev, but no one > gave me final answer about this. I have the following premise: > > If i execute this in the shell python interpreter: > > unicode("ã") > > I got

[Pydev-users] Pydev vs Python Interpreter

2010-05-10 Thread Israel Ben Guilherme Fonseca
Hi, I read in the past emails about encoding problems with pydev, but no one gave me final answer about this. I have the following premise: If i execute this in the shell python interpreter: unicode("ã") I got (correctly) the following error: UnicodeDecodeError: 'ascii' codec can't decode byte