The rest of the answers suggest that you only need the following characters: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 . If you are writing software that can run on locales using other number systems, then you will want to use the new std::isdigit located at <locale> : http://www.cplusplus.com/reference/std/locale/ isdigit /
Then you can recognize the following numbers as numbers: เฅช, เฉฌ, เตฆ, เฏซ, เน, เป
source share