Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | Keith Thompson <kst-u@mib.org> |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: While loop with bool, same issue |
| Date | 2015-10-14 13:15 -0700 |
| Organization | None to speak of |
| Message-ID | <lntwpt6wc9.fsf@kst-u.example.com> (permalink) |
| References | <96769962-2192-444e-a738-01306756e949@googlegroups.com> <chine.bleu-B63CFA.10453814102015@88-209-239-213.giganet.hu> |
Siri Cruz <chine.bleu@yahoo.com> writes:
[...]
> (3) Eventually char may be a 16 bit integer carrying Unicode.
16 bits is not enough to represent all Unicode characters.
> Letters are not contiguous in Unicode.
No, but a-z and A-Z are. Depending on the program's requirements, you
might actually want to check whether a character is one of the 52 Latin
letters, rather than whether it's a "letter" in any more general sense.
--
Keith Thompson (The_Other_Keith) kst-u@mib.org <http://www.ghoti.net/~kst>
Working, but not speaking, for JetHead Development, Inc.
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
While loop with bool, same issue Alla _ <modelling.data@gmail.com> - 2015-10-14 08:59 -0700
Re: While loop with bool, same issue Eric Sosman <esosman@comcast-dot-net.invalid> - 2015-10-14 13:31 -0400
Re: While loop with bool, same issue August Karlstrom <fusionfile@gmail.com> - 2015-10-14 20:11 +0200
Re: While loop with bool, same issue Eric Sosman <esosman@comcast-dot-net.invalid> - 2015-10-14 14:26 -0400
Re: While loop with bool, same issue Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-10-14 20:44 +0100
Re: While loop with bool, same issue Siri Cruz <chine.bleu@yahoo.com> - 2015-10-14 10:45 -0700
Re: While loop with bool, same issue Keith Thompson <kst-u@mib.org> - 2015-10-14 13:15 -0700
Re: While loop with bool, same issue Keith Thompson <kst-u@mib.org> - 2015-10-14 11:42 -0700
Re: While loop with bool, same issue Jorgen Grahn <grahn+nntp@snipabacken.se> - 2015-10-15 08:20 +0000
csiph-web