We’re migrating a Spanish forum and setting up permalinks for all topics.
The existing titles and URL’s have accented characters in ISO 8859-15 in them, escaped with percent encoding
forum/showthread.php?96700-Galer%EDa-de-im%E1genes
We’re rewriting them with /forum\/showthread.php\?(\d*).*/thread/\1
but unfortunately we get a server error (with a white page) before the permalink normalization is processed.
You can see this on for instance Try:
https://try.discourse.org/forum/showthread.php?96700-Galer�a-de-im�genes gives a blank page and “bad request”. Rack::QueryParser::InvalidParameterError (invalid byte sequence in UTF-8)
https://try.discourse.org/forum/showthread.php?96700-Galeria-de-imagenes gives the regular “not found” page.
Do you have any tips on how to get around this without too much bespoke nginx tweaking?