[ticket/13055] Fix string profile fields validation to support unicode

Add unicode support to the string type based profile fields.

<a href="https://tracker.phpbb.com/browse/PHPBB3-13055">PHPBB3-13055</a>.
Then we can actually add another option like 'ASCII_ONLY' for [\w]+ case for latin characters only.