It appears to be a bug the optimisation of constant hash keys. The constant key string in
$h{'Góry'} is being downgraded from utf8, whereas if you write
my $g = 'Góry'; $h{$g} = 1; it works ok. Once the key is downgraded, you then run into the Unicode Bug. This can bypassed in pattern matches using the
//u match modifier.
Dave.