<p></p>
<p dir="auto">Are you talking to me about my concerns about the multibyte stuff? My worry is that the routines as I understand things leave a lot open to interpretation and may be sensitive to the environment so what happens on godbolt may not match what happens in production.</p>
<p dir="auto">I mean probably it works fine given the setlocale I've just always steered clear of them myself.</p>
<p dir="auto">If it works as intended then it's counting codepoints though (which is good) not UTF16 values.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/2025#issuecomment-1252881853">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLNPAZ4IOIDG46JQKHTV7INTTANCNFSM4F3G7XSA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLIEPKOWVZQIFAYH4FDV7INTTA5CNFSM4F3G7XSKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOJKWXLPI.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/issues/2025/1252881853</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/2025#issuecomment-1252881853",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/2025#issuecomment-1252881853",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>