[gull] unicode
Olivier Bornet
Olivier.Bornet at puck.ch
Mon Nov 29 17:19:01 CET 2004
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
Olivier.Bornet at puck.ch | italiano : http://puck.ch/i
Get my PGP-key at http://puck.ch/pgp or at http://pgp.mit.edu/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://forum.linux-gull.ch/pipermail/gull/attachments/20041129/b7be57e3/attachment.pgp>
More information about the gull
mailing list