Common manipulations with Unicode characters (PHP)