Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #14598

Re: Testing for Numeric Digits

Date 2012-02-28 20:44 +0000
From Andy Champ <no.way@nospam.invalid>
Newsgroups comp.lang.c++
Subject Re: Testing for Numeric Digits
References <MPG.29b45a9820e6ae9a9896f9@news.eternal-september.org> <9qvp10F3nfU3@mid.individual.net> <9qvpl3F3nfU4@mid.individual.net> <35f84f6f-cb9f-494f-9e0e-9153a4484759@gw9g2000vbb.googlegroups.com> <jii62j$s3k$1@dont-email.me>
Message-ID <8NCdnf-t47FeodDSnZ2dnUVZ7rKdnZ2d@eclipse.net.uk> (permalink)

Show all headers | View raw


On 28/02/2012 09:17, MikeWhy wrote:
>
> isdigit uses locale stuff, I think, and is not as trivial as you might like.

Right.

Are these digits?

42 (Japanese full width - different to 42) Or this? Ⅲ (Roman numeral 
three).

Or these? ④② (digits in circles on my font)

I've tried to set this to UTF-8 so you have some hope of reading it, but...

This is of course OT.

Andy

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Testing for Numeric Digits mrc2323@cox.net (Mike Copeland) - 2012-02-26 15:05 -0700
  Re: Testing for Numeric Digits Ian Collins <ian-news@hotmail.com> - 2012-02-27 11:11 +1300
    Re: Testing for Numeric Digits Ian Collins <ian-news@hotmail.com> - 2012-02-27 11:22 +1300
      Re: Testing for Numeric Digits Paul <pchristor@yahoo.co.uk> - 2012-02-26 16:45 -0800
        Re: Testing for Numeric Digits "MikeWhy" <boat042-nospam@yahoo.com> - 2012-02-28 03:17 -0600
          Re: Testing for Numeric Digits Paul <pchristor@yahoo.co.uk> - 2012-02-28 03:30 -0800
          Re: Testing for Numeric Digits Marc <marc.glisse@gmail.com> - 2012-02-28 15:19 +0000
            Re: Testing for Numeric Digits "MikeWhy" <boat042-nospam@yahoo.com> - 2012-02-28 11:04 -0600
          Re: Testing for Numeric Digits Andy Champ <no.way@nospam.invalid> - 2012-02-28 20:44 +0000
  Re: Testing for Numeric Digits Miles Bader <miles@gnu.org> - 2012-02-27 10:23 +0900
  Re: Testing for Numeric Digits scott@slp53.sl.home (Scott Lurndal) - 2012-02-27 17:22 +0000
  Re: Testing for Numeric Digits Dombo <dombo@disposable.invalid> - 2012-02-27 20:29 +0100
  Re: Testing for Numeric Digits Quint Rankid <qbr567@gmail.com> - 2012-02-28 11:43 -0800

csiph-web