# The \u metacharacter acts only upon the first character. # No need for substr. $x = "\u$name";