Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Problems with degree (º) and inverted question mark (¿)

Does anyone had the same issue as me? I have a regex in my validator that has the ¿ character inside. When I wrote º and send to the server, it also validates it as good. I think this is gonna be problem of UTF-8, but I don't know.


Add a u to your regex like; /\D{3}(.*)/u to enable unicode mode.


I will save the page to don't forget your post, but for now I realized I don't need it. Thanks indeed, I will inform you when I use it :D