Re: [PyQt] Accented characters

2008-05-02 Thread alteo_gange
Le vendredi 02 mai 2008, Christoph Burgmer a écrit : > If I'm not wrong this "trick" will only work for people who use utf8 as > default encoding. > > You may want to read about Python's way of dealing with encodings and > Unicode, but that's off topic here. > > Little hint: > > _, system_encoding

Re: [PyQt] Accented characters

2008-05-02 Thread Christoph Burgmer
Am Donnerstag, 1. Mai 2008 schrieb alteo_gange: > Le jeudi 01 mai 2008, alteo_gange a écrit : > > Hi, > > > > could you complete the next bit of code please? > > > > 1) File selection (the file's name is accented: ex. animé.txt) > > file = QFileDialog.getOpenFileName(None, "Open"),".","All files (*

Re: [PyQt] Accented characters

2008-05-01 Thread alteo_gange
Le jeudi 01 mai 2008, alteo_gange a écrit : > Hi, > > could you complete the next bit of code please? > > 1) File selection (the file's name is accented: ex. animé.txt) > file = QFileDialog.getOpenFileName(None, "Open"),".","All files (*.*)) > 2) Print file's name in a terminal > ??? > > It seems e

[PyQt] Accented characters

2008-05-01 Thread alteo_gange
Hi, could you complete the next bit of code please? 1) File selection (the file's name is accented: ex. animé.txt) file = QFileDialog.getOpenFileName(None, "Open"),".","All files (*.*)) 2) Print file's name in a terminal ??? It seems easy... too easy... -- alteo_gange ___