Path: csiph.com!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Tim Rentsch Newsgroups: comp.lang.c Subject: Re: Simple(?) Unicode questions Date: Fri, 19 Jan 2024 07:43:39 -0800 Organization: A noiseless patient Spider Lines: 16 Message-ID: <86frytjplg.fsf@linuxsc.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: dont-email.me; posting-host="4317632f5246f6fddd21ccc8d476a409"; logging-data="3367669"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/8AlcnXxLe2w46g9c8eor9QyBW8ZyoXdk=" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) Cancel-Lock: sha1:8Hdro212wlRpPMp3MiZkV7z3DGM= sha1:utaraTyDkhCe3/EKHWrjMnFJJYc= Xref: csiph.com comp.lang.c:380474 James Kuyper writes: > On 12/12/23 22:05, spender wrote: > >> printf("%c",ch), the ch must <0xFF, <255 > > The only 'ch' in the code that you responded to was declared as > "char *", not char, [...] The posting in question also gave declarations char ch = [...]; and wchar_t ch = [...];