| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
The problem with the latter is that it will also accept all kinds of
unicode digits that are not the ASCII 0-9 digits causing all kinds of
problems in check digit calculations.
Some of these unicode characters are also considered digits by int() but
some are not (such as the SUPERSCRIPT TWO unicode character).
Closes https://github.com/arthurdejong/python-stdnum/issues/96
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
The last digits of the number that should be letters were not tested to
be letters which could result in ValueError being raised for certain
validations.
This also clarifies the documentation and adds a convert() function to
convert numbers from the old format (where the second character would be
a letter or symbol) to the new format (7 digits followed by 1 or 2
letters).
|
|
|
|
|
| |
References:
- https://www.welfare.ie/en/Pages/PPSN.aspx
- http://www.citizensinformation.ie/en/social_welfare/irish_social_welfare_system/personal_public_service_number.html
|
| |
|
|
|
|
| |
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@168 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
|
|
|
|
| |
usable format
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@165 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@134 9dea7c4f-944c-4273-ac1a-574ede026edc
|