[openstreetmap/openstreetmap-website] User preferences accepts only ASCII data (Issue #4001)

bryceco notifications at github.com
Fri Apr 7 21:46:05 UTC 2023


### URL

https://api.openstreetmap.org/api/0.6/user/preferences/test

### How to reproduce the issue?

I noticed this with emoji values, and verified it with a ć character. 

> curl -X PUT -d ‘👀’ https://api.openstreetmap.org/api/0.6/user/preferences/test
Encoding::CompatibilityError: incompatible encoding regexp match (UTF-8 regexp with ASCII-8BIT string)

### Screenshot(s) or anything else?

_No response_

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/4001
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/4001 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20230407/ca585b13/attachment.htm>


More information about the rails-dev mailing list