🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fj.lang.c
Article #4513

Re: Kanji C string, in gcc

#4513
From: Akinori Ito
Date: Wed, 21 Oct 1992 00:30
24 lines
1293 bytes
Hisashi MINAMINO (hry@belial.osakac.ac.jp) wrote:
: $@Nc$($P!"%7%U%H(J JIS $@$G$O(J2$@%P%$%H$a$K(J "\" (backslash) $@$,F~$C$F$7(J
: $@$^$&$b$N$,$"$j$^$9$,!"$=$l$i$r@5$7$/=hM}$G$-$k$b$N!"$H$$$&$3$H(J
: $@$G$9!#(J

$@$3$s$J%U%#%k%?$r$+$^$;$k$s$8$c%@%a$G$9$+!)(J

#include <stdio.h>

main()
{
	unsigned char c;

	while (c = getchar(),!feof(stdin)) {
		if (c & 0x80)
			printf("\\%03o\\%03o",c,getchar());
		else
			putchar(c);
	}
}

--
$@0KF#(J|Akino|$@ElKLBg3X>pJs=hM}(J|aito@ecip.t|NIFTY:G|AG#28:HT#178:WT#80:SG:
$@>4B'(J|riITO|$@650i%;%s%?!<=u<j(J|ohoku.ac.jp|GA02510|NR=tin:MR=addmail:ED=ari:
Technical Details
Message-ID: <4063@akiu.gw.tohoku.ac.jp>
Path: arc1-ca.pugleaf.net!sparky!uunet!ccut!sh.wide!wnoc-snd-ss2!akiu!aito
References: <HRY.92Oct16164149@belial.osakac.ac.jp>

Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS
X-Google-Thread: 106434,752a836314690acb
X-Google-Attributes: gid106434,public
X-Google-ArrivalTime: 1992-10-20 10:58:40 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!ccut!sh.wide!wnoc-snd-ss2!akiu!aito
From: aito@ecip.tohoku.ac.jp (Akinori Ito)
Newsgroups: fj.lang.c
Subject: Re: Kanji C string, in gcc
Message-ID: <4063@akiu.gw.tohoku.ac.jp>
Date: 21 Oct 92 00:30:57 GMT
References: <HRY.92Oct16164149@belial.osakac.ac.jp>
Sender: news@akiu.gw.tohoku.ac.jp
Distribution: fj
Organization: Education Center for Information Processing, Tohoku Univ., JAPAN
Lines: 24
Nntp-Posting-Host: goku
X-Newsreader: TIN [version 1.1 PL6]