You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When submitting a news story that has UTF-8 encoded characters in its title, the submission completes successfully but the resulting redirect produces the following error:
ArgumentError at /
invalid byte sequence in US-ASCII
For some reason, it is falsely assumed that strings returned by Redis are ASCII strings. I have fixed this problem in production by adding the following line to config.ru:
Encoding.default_external = Encoding::UTF_8
The text was updated successfully, but these errors were encountered:
When submitting a news story that has UTF-8 encoded characters in its title, the submission completes successfully but the resulting redirect produces the following error:
For some reason, it is falsely assumed that strings returned by Redis are ASCII strings. I have fixed this problem in production by adding the following line to
config.ru
:The text was updated successfully, but these errors were encountered: