in reply to UTF-8 from a CGI script

In addition to what was already mentioned, be sure that when you open the xml file you open it in utf-8 mode too, if you're doing the open yourself. (If you're using an xml-specific module to which you pass a filename or url, you can probably trust the module to take care of this) By default it will probably be opened as iso-latin-1, not utf-8.

--
@/=map{[/./g]}qw/.h_nJ Xapou cets krht ele_ r_ra/; map{y/X_/\n /;print}map{pop@$_}@/for@/