<p></p>
<h3 dir="auto">URL</h3>
<p dir="auto"><a href="https://api.openstreetmap.org/api/0.6/user/preferences/test" rel="nofollow">https://api.openstreetmap.org/api/0.6/user/preferences/test</a></p>
<h3 dir="auto">How to reproduce the issue?</h3>
<p dir="auto">I noticed this with emoji values, and verified it with a ć character.</p>
<blockquote>
<p dir="auto">curl -X PUT -d ‘<g-emoji class="g-emoji" alias="eyes" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f440.png">👀</g-emoji>’ <a href="https://api.openstreetmap.org/api/0.6/user/preferences/test" rel="nofollow">https://api.openstreetmap.org/api/0.6/user/preferences/test</a><br>
Encoding::CompatibilityError: incompatible encoding regexp match (UTF-8 regexp with ASCII-8BIT string)</p>
</blockquote>
<h3 dir="auto">Screenshot(s) or anything else?</h3>
<p dir="auto"><em>No response</em></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/4001">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLLC6GWYJCZPRJM5L3LXACDJ3ANCNFSM6AAAAAAWW6PORU">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLO2ERQ6JTDZWCUEU6DXACDJ3A5CNFSM6AAAAAAWW6PORWWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHGFZPEV4.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/4001</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/4001",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/4001",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>