X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/ffb77a24b04bf95317563abe88e1f49797883741..5cae8635fc2bb8b3d6cd7d2d954209dfdc78228f:/charset.plp diff --git a/charset.plp b/charset.plp index 6300622..6ec4a24 100644 --- a/charset.plp +++ b/charset.plp @@ -152,7 +152,7 @@ sub tabinput { if ($row{set}) {} elsif ($row{set} = Encode::resolve_alias($input)) { $row{offset} = delete $row{startpoint}; - if ($row{set} eq 'MacHebrew' or $row{set} eq 'MacThai') { + if ($charset->{varchar}) { # array of possibly multiple characters per code point $row{table} = [ map { Encode::decode($row{set}, pack 'C*', $_) } $row{offset} .. $row{endpoint}