See my response in the newsgroup.<br><br>Regards<br><br>Kiriakos<br><br><div><span class="gmail_quote">On 19/11/06, <b class="gmail_sendername">Kirill Simonov</b> <<a href="mailto:xi@gamma.dn.ua">xi@gamma.dn.ua</a>> wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Sat, Nov 18, 2006 at 06:11:48PM -0800, PyScripter wrote:<br>> Kirill Simonov wrote:
<br>> > PyScripter does, indeed, look nice, but unfortunately it appeared to<br>> > have similar issues with cyrillic support. Thank you anyway for the<br>> > suggestion.<br>><br>><br>> What are the issues?  PyScripter offers full support for utf-8 encoded
<br>> files and PEP-263.  The editor internally is unicode based.    Please<br>> read the PyScripter help topic "Encoded Python Source Files", paying<br>> special attention to the last paragraph, and if you follow the
<br>> guidelines you should have no problem with cyrillic or other encodings.<br>>  If you have problems email <a href="mailto:pyscripter@gmail.com">pyscripter@gmail.com</a> for support.<br><br>The issues are related to the emulation of 
sys.stdin and sys.stdout in<br>the interactive console (which is called Python Interpreter in<br>PyScripter).<br><br>In PyScripter,<br>    >>> print "...some cyrillic characters..."<br>produces output as if an UTF-8 string is displayed in latin1.
<br>On the other hand,<br>    >>> print u"...some cyrillic characters..."<br>works correctly in PyScripter.  Both above examples works correctly in a<br>real console when sys.stdout.encoding is set to 'utf-8'.
<br><br>raw_input() doesn't work at all with non-ASCII characters in PyScripter.<br>    >>> raw_input("...some cyrillic characters...")<br>displays the label in latin1 while<br>    >>> raw_input(u"...some cyrillic characters...")
<br>produces UnicodeDecodeError.<br><br>Moreover, if I enter some cyrillic characters to the input box of<br>raw_input(), it returns a line of '?'. This might be related to the fact<br>that I use WinXP ENG (not RUS), but still I believe it's possible to
<br>make it work even in this environment.<br><br>I'd like the emulated sys.stdin and sys.stdout to behave like the real<br>sys.stdin and sys.stdout do under a UTF-8 terminal when<br>sys.stdout.encoding is set to 'utf-8'.
<br><br>Python 2.5, PyScripter <a href="http://1.7.2.0">1.7.2.0</a>.<br><br><br>Thanks,<br>Kirill<br></blockquote></div><br>