demo_ref_string_isdigit2.py:
a = "u0030" #unicode for 0 b = "u00B2" #unicode for ² print(a.isdigit()) print(b.isdigit())
➜ begtut>python demo_string_isdigit2.py
True
True