Supporting special characters in URI for location block

I have a URI with spanish characters that needs to be handled in
location block specific to it e.g. I want to do location {}
However, nginx does not seem to match URI in location block with
spanish (or any other characters including chinese). Is this
functionality supported?Thanks

On 29 May 2015, at 10:14, Rv Rv [email protected] wrote:

I have a URI with spanish characters that needs to be handled in location block
specific to it e.g. I want to do
location {
}

However, nginx does not seem to match URI in location block with spanish (or
any other characters including chinese). Is this functionality supported?
Thanks

Both URI and configuration should be in UTF-8.
Then

location /ao/ {
}

will match

“GET /a%C3%B1o/…”