🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fr.comp.lang.c
Article #15263

Re: rot13 [Was : Re: conjugaison et autres ...]

#15263
From: Antoine Leca
Date: Tue, 04 Oct 2005 08:56
13 lines
2387 bytes
En <news:BF660CC9.46CAC%new@levenez.com>, Eric Levenez va escriure:
>
> En fait, je ne suis pas s�r que les islower marche comme attendu (et
> donc soit portable dans ce programme). Il faudrait peut-�tre faire un
> setlocale en t�te de programme.

Je pense que ce serait mieux de ne PAS le faire. Comme l'objectif (ROT-13)
c'est de changer seulement les lettres a � z, pas les autres comme �, avec
"C" comme locale tu es s�r de rester dans le bon ensemble, mais si tu
changes de locale... NULL+13, �a fait quoi ?


Antoine
Technical Details
Message-ID: <dhtg3b$q71$1@shakotay.alphanet.ch>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!solnet.ch!solnet.ch!news.imp.ch!news.imp.ch!80.83.46.147.MISMATCH!news.alphanet.ch!alphanet.ch!not-for-mail
References: <1126342327.583568.21420@g43g2000cwa.googlegroups.com> <4329e5d4$0$7846$8fcfb975@news.wanadoo.fr> <dge4b6$fqa$1@reader1.imaginet.fr> <432ab809$0$1734$8fcfb975@news.wanadoo.fr> <mn.84b07d59016a857b.31483@laposte.net> <433f16ac$0$27406$8fcfb975@news.wanadoo.fr> <mn.10907d5a55119e84.15512@YOURBRAnoos.fr> <433f9cb1$0$7821$8fcfb975@news.wanadoo.fr> <mn.128c7d5aa5238de0.15512@YOURBRAnoos.fr> <43402c57$0$1702$8fcfb975@news.wanadoo.fr> <43402f38$0$1733$8fcfb975@news.wanadoo.fr> <mn.150f7d5a62aca168.15512@YOURBRAnoos.fr> <BF660CC9.46CAC%new@levenez.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: f9822,b21b26167a936e28
X-Google-Attributes: gidf9822,public
X-Google-Language: FRENCH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!solnet.ch!solnet.ch!news.imp.ch!news.imp.ch!80.83.46.147.MISMATCH!news.alphanet.ch!alphanet.ch!not-for-mail
From: "Antoine Leca" <root@localhost.invalid>
Newsgroups: fr.comp.lang.c
Subject: Re: rot13 [Was : Re: conjugaison et autres ...]
Date: Tue, 4 Oct 2005 10:56:11 +0200
Organization: Posted through ALPHANET (http://www.alphanet.ch/)
Lines: 14
Sender: antoinel@143.red-217-127-250.staticip.rima-tde.net
Message-ID: <dhtg3b$q71$1@shakotay.alphanet.ch>
References: <1126342327.583568.21420@g43g2000cwa.googlegroups.com> <4329e5d4$0$7846$8fcfb975@news.wanadoo.fr> <dge4b6$fqa$1@reader1.imaginet.fr> <432ab809$0$1734$8fcfb975@news.wanadoo.fr> <mn.84b07d59016a857b.31483@laposte.net> <433f16ac$0$27406$8fcfb975@news.wanadoo.fr> <mn.10907d5a55119e84.15512@YOURBRAnoos.fr> <433f9cb1$0$7821$8fcfb975@news.wanadoo.fr> <mn.128c7d5aa5238de0.15512@YOURBRAnoos.fr> <43402c57$0$1702$8fcfb975@news.wanadoo.fr> <43402f38$0$1733$8fcfb975@news.wanadoo.fr> <mn.150f7d5a62aca168.15512@YOURBRAnoos.fr> <BF660CC9.46CAC%new@levenez.com>
NNTP-Posting-Host: 143.red-217-127-250.staticip.rima-tde.net
Mime-Version: 1.0
Content-Type: text/plain;
 charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: shakotay.alphanet.ch 1128416172 26849 217.127.250.143 (4 Oct 2005 08:56:12 GMT)
X-Complaints-To: usenet@alphanet.ch
NNTP-Posting-Date: Tue, 4 Oct 2005 08:56:12 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1506
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506