Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #34949 > unrolled thread

Unicode

Started byAnatoli Hristov <tolidtm@gmail.com>
First post2012-12-16 22:10 +0100
Last post2012-12-17 23:31 +0100
Articles 1 on this page of 21 — 7 participants

Back to article view | Back to comp.lang.python


Contents

  Unicode Anatoli Hristov <tolidtm@gmail.com> - 2012-12-16 22:10 +0100
    Re: Unicode Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-12-17 06:06 +0000
      Re: Unicode Anatoli Hristov <tolidtm@gmail.com> - 2012-12-17 09:59 +0100
      Re: Unicode Benjamin Kaplan <benjamin.kaplan@case.edu> - 2012-12-17 01:28 -0800
      Re: Unicode Anatoli Hristov <tolidtm@gmail.com> - 2012-12-17 10:45 +0100
      Re: Unicode Vlastimil Brom <vlastimil.brom@gmail.com> - 2012-12-17 11:02 +0100
      Re: Unicode Anatoli Hristov <tolidtm@gmail.com> - 2012-12-17 11:17 +0100
      Re: Unicode Vlastimil Brom <vlastimil.brom@gmail.com> - 2012-12-17 11:55 +0100
      Re: Unicode Anatoli Hristov <tolidtm@gmail.com> - 2012-12-17 12:14 +0100
      Re: Unicode Vlastimil Brom <vlastimil.brom@gmail.com> - 2012-12-17 12:56 +0100
      Re: Unicode Anatoli Hristov <tolidtm@gmail.com> - 2012-12-17 18:43 +0100
      Re: Unicode Dave Angel <d@davea.name> - 2012-12-17 13:07 -0500
      Re: Unicode Anatoli Hristov <tolidtm@gmail.com> - 2012-12-17 19:36 +0100
        Re: Unicode Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-12-18 00:07 +0000
      Re: Unicode Vlastimil Brom <vlastimil.brom@gmail.com> - 2012-12-17 20:55 +0100
      Re: Unicode Anatoli Hristov <tolidtm@gmail.com> - 2012-12-17 21:00 +0100
      Re: Unicode Dave Angel <d@davea.name> - 2012-12-17 16:09 -0500
        Re: Unicode Hans Mulder <hansmu@xs4all.nl> - 2012-12-17 23:02 +0100
          Re: Unicode Anatoli Hristov <tolidtm@gmail.com> - 2012-12-17 23:33 +0100
      Re: Unicode Terry Reedy <tjreedy@udel.edu> - 2012-12-17 17:03 -0500
      Re: Unicode Anatoli Hristov <tolidtm@gmail.com> - 2012-12-17 23:31 +0100

Page 2 of 2 — ← Prev page 1 [2]


#35022

FromAnatoli Hristov <tolidtm@gmail.com>
Date2012-12-17 23:31 +0100
Message-ID<mailman.998.1355783504.29569.python-list@python.org>
In reply to#34955
> I doubted that 2.7 would make any difference.

Yeah this complicated my life even more, all my import functions was
gone - took me 2h to fix all :)
and it does not solved my issue:)
>
> 1. What does your "terminal' expect. (For all I know you're using
> TeraTermPro as a terminal, which doesn't support utf-8.)
> Have you looked at the terminal encoding to see what your copy of
> Terminal is expecting? On my Ubuntu Linux, I open the terminal with
> Ctrl-Alt-t, then in the menu bar, I select
> Terminal->SetCharacterEncoding->utf-8

I'm using putty for windows and I changed the putty to UTF-8 and this
is what solved the problem - ihuuuuuu :p
There is no logic, but it solved the issue !

> 2. What does your environment tell Linux to support? At a bash prompt, try
> echo $LANG (there are two other environment variables I've seen
> reference to, so this aspect is nuts)
> Mine says
> en_US.UTF-8

Mine too US.UTF-8, but the putty was in latin1

> 3. What does Python think it was told?
> import sys
> print sys.stdout.encoding
>
> Mine says
> UTF-8
Mine too :p

Thank you Dave you always come with a solution :)

[toc] | [prev] | [standalone]


Page 2 of 2 — ← Prev page 1 [2]

Back to top | Article view | comp.lang.python


csiph-web