Re: about coding

2005-08-11 Thread John Machin
Paul Watson wrote: > cantabile wrote: > >> Hi, being a newbie in Python, I'm a bit lost with the '-*- coding : >> -*-' directive. >> >> I'm using an accented characters language. Some of them are correctly >> displayed while one doesn't. I've written : >> -*- coding: utf-8 -*- >> >> Is this wron

Re: about coding

2005-08-11 Thread Paul Watson
cantabile wrote: > Hi, being a newbie in Python, I'm a bit lost with the '-*- coding : -*-' > directive. > > I'm using an accented characters language. Some of them are correctly > displayed while one doesn't. I've written : > -*- coding: utf-8 -*- > > Is this wrong ? > > Where can I find a pr

Re: about coding

2005-08-06 Thread cantabile
Robert Kern a écrit : > It depends. Are those characters encoded as UTF-8? Or, more likely, are > they encoded as ISO-8859-1? > >> Where can I find a pratical explanation about these encodings ? > > > http://www.amk.ca/python/howto/unicode > http://en.wikipedia.org/wiki/Character_encoding > ht

Re: about coding

2005-08-06 Thread John Machin
Benjamin Niemann wrote: > cantabile wrote: > > >>Hi, being a newbie in Python, I'm a bit lost with the '-*- coding : -*-' >>directive. >> >>I'm using an accented characters language. Some of them are correctly >>displayed while one doesn't. I've written : >>-*- coding: utf-8 -*- >> >>Is this wron

Re: about coding

2005-08-06 Thread Benjamin Niemann
cantabile wrote: > Hi, being a newbie in Python, I'm a bit lost with the '-*- coding : -*-' > directive. > > I'm using an accented characters language. Some of them are correctly > displayed while one doesn't. I've written : > -*- coding: utf-8 -*- > > Is this wrong ? > > Where can I find a pra

Re: about coding

2005-08-06 Thread Robert Kern
cantabile wrote: > Hi, being a newbie in Python, I'm a bit lost with the '-*- coding : -*-' > directive. > > I'm using an accented characters language. Some of them are correctly > displayed while one doesn't. I've written : > -*- coding: utf-8 -*- > > Is this wrong ? It depends. Are those cha

about coding

2005-08-06 Thread cantabile
Hi, being a newbie in Python, I'm a bit lost with the '-*- coding : -*-' directive. I'm using an accented characters language. Some of them are correctly displayed while one doesn't. I've written : -*- coding: utf-8 -*- Is this wrong ? Where can I find a pratical explanation about these encodi