gristlabs_grist-core/sandbox/grist/imports/fixtures/test_isdigit.csv
Dmitry S 64d9faed5a (core) Fix import parsing from choking up on Python isdigit() surprises
Summary:
Python isdigit() returns true for unicode characters such as "²", which fail
when used as an argument to int().

Instead, be explicit about only considering characters 0-9 to be digits.

Test Plan: Added a test case which produces an error without this change.

Reviewers: alexmojaki

Reviewed By: alexmojaki

Differential Revision: https://phab.getgrist.com/D3027
2021-09-20 16:17:34 -04:00

74 B

1PHONEVALUEDATE
2201-¾᠓𑄺꤈꤈꧐꤆¹52018-0²-27 16:08:39 +0000