Re: Windows XP unicode and escape sequences

2007-12-19 Thread Martin v. Löwis
This brings up another question. If I run some Python code that starts off with 'os.system('cp869')' so it will change to the correct code page, then when it starts printing the Greek characters it breaks. But run the same Python code again and it works fine. Is there another way to do

Re: Windows XP unicode and escape sequences

2007-12-16 Thread MonkeeSage
On Dec 16, 5:28 pm, [EMAIL PROTECTED] wrote: Thank you John and Tim. With your help I found that the XP console code page is set up for 'cp437' and with a little bit of browsing I found that 869 is the code page for Modern Greek. After changing it to 869 that did the trick! Thanks very

Re: Windows XP unicode and escape sequences

2007-12-16 Thread Ross Ridge
[EMAIL PROTECTED] wrote: This brings up another question. If I run some Python code that starts off with 'os.system('cp869')' so it will change to the correct code page, then when it starts printing the Greek characters it breaks. But run the same Python code again and it works fine. That's

Re: Windows XP unicode and escape sequences

2007-12-14 Thread Tim Roberts
[EMAIL PROTECTED] wrote: I mainly work on OS X, but thought I'd experiment with some Python code on XP. The problem is I can't seem to get these things to work at all. First of all, I'd like to use Greek letters in the command prompt window, so I was going to use unicode to do this. But in

Re: Windows XP unicode and escape sequences

2007-12-13 Thread John Roth
On Dec 12, 2:51 pm, [EMAIL PROTECTED] wrote: I mainly work on OS X, but thought I'd experiment with some Python code on XP. The problem is I can't seem to get these things to work at all. First of all, I'd like to use Greek letters in the command prompt window, so I was going to use

Windows XP unicode and escape sequences

2007-12-12 Thread jyoung79
I mainly work on OS X, but thought I'd experiment with some Python code on XP. The problem is I can't seem to get these things to work at all. First of all, I'd like to use Greek letters in the command prompt window, so I was going to use unicode to do this. But in the command prompt, the