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


Groups > comp.lang.python > #79964

Re: accents in windows

From Terry Reedy <tjreedy@udel.edu>
Subject Re: accents in windows
Date 2014-10-30 14:04 -0400
References <838615157.3476350.1414627277178.JavaMail.zimbra@estudiantes.uci.cu> <1003235191.3477106.1414627437852.JavaMail.zimbra@estudiantes.uci.cu> <CAPTjJmonbmS85SUK46Z37=2BQscKws3fvGVOV2izbUsE16AL=g@mail.gmail.com> <1796463426.3602276.1414672249566.JavaMail.zimbra@estudiantes.uci.cu>
Newsgroups comp.lang.python
Message-ID <mailman.15330.1414692264.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 10/30/2014 8:30 AM, C@rlos wrote:
> thanks U, but the real problem is:
>
> i have a path C:\Users\yanet\Desktop\áaaéeeíiiióooúuuñnn
> this path is correct, áaaéeeíiiióooúuuñnn is the name of a directory
> but when i try to use os.walk() usin this path, dont work, for os this
 > path dont exist, i try every things but nothing works.
>
> some help???

Using Python 3.4 should solve this problem.


> ----- Mensaje original -----
> De: "Chris Angelico" <rosuav@gmail.com>
> CC: python-list@python.org
> Enviados: Jueves, 30 de Octubre 2014 4:42:49
> Asunto: Re: accents in windows
>
> 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

Using Idle and a font with accented chars should solve this problem.

> 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.

-- 
Terry Jan Reedy

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


Thread

Re: accents in windows Terry Reedy <tjreedy@udel.edu> - 2014-10-30 14:04 -0400

csiph-web