How to lowercase string with special chars?

Hello!

I need to lowercase a string that may contain special chars like, for example, "Á". I saw that the tolower() function does not lowercase this type of characters.

How can I achieve it?
Last edited on
There is a version that uses a locale - try this:
http://en.cppreference.com/w/cpp/locale/tolower
Hello Thomas, thanks for the fast answer. Excuse me but I'm kinda new in that locale thing, does that allow converting any character? From the one I said in the example, as maybe, the letter "Ñ"?

Thank you again :)
Last edited on
Topic archived. No new replies allowed.