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

PHPBB3-13055