in reply to Comparing string hex / korean

The code below implements the conversion you requested. However, I would still recommend the true UTF-8 solution as recommended by other monks.
use strict; use warnings; my %cfg = ( 'default.player', "\xeb\xa6\xac\xec\x9e\x91", ); my $name = '\\xeb\\xa6\\xac\\xec\\x9e\\x91'; my $a = $cfg{'default.player'}; my $b = eval q(") . $name . q("); if ($a eq $b) { print "indahouse\n"; }
Bill