Hello,

> unicode et pyton.

Python. :-) Cool. :-)

> voila j'aimerai faire fonctionner ca sur ma Sarge:
> > more qq.py
> #!/usr/local/bin/python
> # -*- coding: UTF-8 -*-
> q=u"C\xe9dric"
> print q

Ca marche bien chez moi dans un xterm et dans un eterm.

> 3)j'utilise xterm... mais je n'ai pas trouve d'option special utf8

Unicode et xterm, voir par exemple:
  http://qref.sourceforge.net/Debian/reference/ch-tune.en.html#s-x-utf-8
  http://www.tldp.org/HOWTO/Unicode-HOWTO.html
(j'ai pas d'exp�rience sur le sujet).

> d'autres part, est-ce normal que dans mon xterm la composition de 
> lettres accentu�es ne fonctionnent pas ?

C'est certainement le probl�me. Il faudrait aussi voir si tu peux les
afficher. Voir aussi:
  http://qref.sourceforge.net/Debian/reference/ch-tune.en.html#s-l10n

HTH.

                Olivier
-- 
Olivier Bornet                |    fran�ais : http://puck.ch/f
Swiss Ice Hockey Results      |    english  : http://puck.ch/e
http://puck.ch/               |    deutsch  : http://puck.ch/g
[EMAIL PROTECTED]        |    italiano : http://puck.ch/i
Get my PGP-key at http://puck.ch/pgp or at http://pgp.mit.edu/

Attachment: signature.asc
Description: Digital signature

Répondre à