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


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

Re: accents in windows

Started byTerry Reedy <tjreedy@udel.edu>
First post2014-10-30 14:04 -0400
Last post2014-10-30 14:04 -0400
Articles 1 — 1 participant

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

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#79964 — Re: accents in windows

FromTerry Reedy <tjreedy@udel.edu>
Date2014-10-30 14:04 -0400
SubjectRe: accents in windows
Message-ID<mailman.15330.1414692264.18130.python-list@python.org>
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

[toc] | [standalone]


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


csiph-web