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


Groups > comp.lang.python > #79947

Re: accents in windows

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!bcyclone03.am1.xlned.com!bcyclone03.am1.xlned.com!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.004
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'python,': 0.02; 'nicely': 0.07; 'cc:addr:python-list': 0.11; 'gui': 0.12; 'windows': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:windows': 0.16; 'wrote:': 0.18; 'thu,': 0.19; 'python?': 0.22; 'cc:addr:python.org': 0.22; 'print': 0.22; 'error': 0.23; 'certainly': 0.24; 'unicode': 0.24; 'together.': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'characters': 0.30; 'to?': 0.30; 'message-id:@mail.gmail.com': 0.30; '(which': 0.31; 'code': 0.31; 'easier': 0.31; 'linux.': 0.31; 'received:google.com': 0.35; 'version': 0.36; 'idle': 0.36; 'kind': 0.63; '30,': 0.65; 'to:none': 0.92
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type:content-transfer-encoding; bh=i9SHKKuOhiZ8r181wGtNmNeug2w6oAvDSKMeAcCKO00=; b=ZYcTwFmbXGgQFTqNd3HBDcyJR9a31ezNOslHc3EaDDZfkb7t4ZaYUpu0xC+fPPpg2R uXt90sMHpIioochaGC09i9vFMfpDW6hnQdm8q5CILgPC3ix4g0Kyazx0fsuFsVuQC7gb SZZcsDwixRPN3mzNusJ+0tqA2P0MaiOA7yWZKgmpWAmslovh1e0efWbRjUIXcD0S/fEX hi/957b/2KE9BNUu38sybjxGuBf9/fdFxzEIVXmwcB6u26BN9rkMg8Rj91pm8QRUoKga 96fuYhsRDTzSKKsFUeNqfu5pW2OwceogaVQJ8ccAaoiCp6Cly2BvkV0Oq4nxEpDams9I e22w==
MIME-Version 1.0
X-Received by 10.50.128.35 with SMTP id nl3mr2807971igb.34.1414658569507; Thu, 30 Oct 2014 01:42:49 -0700 (PDT)
In-Reply-To <1003235191.3477106.1414627437852.JavaMail.zimbra@estudiantes.uci.cu>
References <838615157.3476350.1414627277178.JavaMail.zimbra@estudiantes.uci.cu> <1003235191.3477106.1414627437852.JavaMail.zimbra@estudiantes.uci.cu>
Date Thu, 30 Oct 2014 19:42:49 +1100
Subject Re: accents in windows
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.15316.1414658578.18130.python-list@python.org> (permalink)
Lines 14
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1414658578 news.xs4all.nl 2881 [2001:888:2000:d::a6]:52590
X-Complaints-To abuse@xs4all.nl
X-Received-Bytes 3654
X-Received-Body-CRC 826313634
Xref csiph.com comp.lang.python:79947

Show key headers only | View raw


On Thu, Oct 30, 2014 at 11:03 AM, C@rlos <cmferras@estudiantes.uci.cu> wrote:
> i cant print any accent(á é í ó ú) or ñ in console  when i use windows OS
> with python, the console showme an error or extrangers characters in some
> cases, i need help

What version of Python? What is your code page set to?

Windows and Unicode don't play very nicely together. You may find it
better to use Idle (which has a GUI for this kind of display), and you
will almost certainly find things easier on Linux.

ChrisA

Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Re: accents in windows Chris Angelico <rosuav@gmail.com> - 2014-10-30 19:42 +1100
  Re: accents in windows wxjmfauth@gmail.com - 2014-10-30 12:30 -0700

csiph-web