[openstreetmap/openstreetmap-website] User's should not be allowed to have invisible names (Issue #6642)
Tom Hughes
notifications at github.com
Mon Dec 22 11:38:09 UTC 2025
tomhughes left a comment (openstreetmap/openstreetmap-website#6642)
The obvious test to employ is that the unicode column count for the name is non-zero - all unicode codepoints have a width of 0, 1 or 2 columns so you can just sum that for the codepoints in the name and check it's not zero.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/6642#issuecomment-3681691598
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/6642/3681691598 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251222/58d52da0/attachment-0001.htm>
More information about the rails-dev
mailing list