Re: [PyQt] QTextEdit and encoding

2007-07-18 Thread kib2
I just found it, very annoying : it was the BOM inside my utf8 encoded files. Sorry, Kib²: - blog : http://kib2.webfactional.com/ ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] QTextEdit and encoding

2007-07-18 Thread kib2
Hi, I have some problems with my app : when I load a file (utf8 encoded) inside a QTextEdit, the first char is just unknown to it. It's very problematic as the first char is used to render reSTructuredText markup, so the titles won't appear correctly in my (pseudo) browser/ Here's a little