# בעיות תווים עם קידוד שאינו UTF בכתובות URL

**URL:** <https://meta.discourse.org/t/non-utf-accented-characters-in-url-problems/218115>\
**Category:** Product Support\
**Created:** [14 בפברואר,‏ 2022,‏ 11:06am UTC](https://meta.discourse.org/t/non-utf-accented-characters-in-url-problems/218115 "2022-02-14T11:06:13Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)\
**Post date:** [14 בפברואר,‏ 2022,‏ 11:06am UTC](https://meta.discourse.org/t/non-utf-accented-characters-in-url-problems/218115/1 "2022-02-14T11:06:13Z")

</div>

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](https://en.wikipedia.org/wiki/ISO/IEC_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](https://try.discourse.org/forum/showthread.php?96700-Galer%EDa-de-im%E1genes) 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](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?

---

_[View the full topic](https://meta.discourse.org/t/non-utf-accented-characters-in-url-problems/218115)._
