bel
bel copied to clipboard
Bel strings think in bytes, not characters
This:
$ perl -Ilib bin/bel
Language::Bel 0.46 -- msys.
> (len "¦")
2
Should be 1.
Reading perldoc perluniintro and perldoc perlunicode, it seems like the following changes are warranted:
binmodeon file handles (maybe?)use utf8use feature 'unicode_strings'