<?php$trans = Transliterator::create('Any-Upper');echo $trans->transliterate('äčģfş') . PHP_EOL;$trans = Transliterator::create('Any-Hex');echo $trans->transliterate('A');