"In Unicode, a character is a digit if it has the category Nd in the character attribute database." . . . .