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/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev