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


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

Re: accents in windows

Started by"C@rlos" <cmferras@estudiantes.uci.cu>
First post2014-10-30 08:30 -0400
Last post2014-10-31 18:17 +0000
Articles 2 — 2 participants

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 "C@rlos" <cmferras@estudiantes.uci.cu> - 2014-10-30 08:30 -0400
    Re: accents in windows Nobody <nobody@nowhere.invalid> - 2014-10-31 18:17 +0000

#79952 — Re: accents in windows

From"C@rlos" <cmferras@estudiantes.uci.cu>
Date2014-10-30 08:30 -0400
SubjectRe: accents in windows
Message-ID<mailman.15319.1414672292.18130.python-list@python.org>
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???


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

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
-- 
https://mail.python.org/mailman/listinfo/python-list

-- 
Conserva lo que tienes...Olvida lo que te duele...Lucha por lo que quieres... Valora lo que posees...Perdona a los que te hieren y disfruta a los que te aman. Nos pasamos la vida esperando que pase algo... y lo único que pasa es la vida. No entendemos el valor de los momentos, hasta que se han convertido en recuerdos. Por eso... Haz lo que quieras hacer, antes de que se convierta en lo que te "gustaría" haber hecho.. No hagas de tu vida un borrador, tal vez no tengas tiempo de pasarlo en limpio !! 

.....C@rlos 

III Escuela Internacional de Invierno en la UCI del 17 al 28 de febrero del 2014. Ver www.uci.cu

[toc] | [next] | [standalone]


#80047

FromNobody <nobody@nowhere.invalid>
Date2014-10-31 18:17 +0000
Message-ID<pan.2014.10.31.18.17.43.344000@nowhere.invalid>
In reply to#79952
On Thu, 30 Oct 2014 08:30:49 -0400, 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.

	http://www.joelonsoftware.com/articles/Unicode.html

[toc] | [prev] | [standalone]


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


csiph-web