[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>.
is already tested sorry