What you want is to be able to print Unicode, and the answer is at perldoc perluniintro.
You can use \x{nnnn}where n is the hexadecimal identifier, or you can do \N{...}with the name:
perl -E 'say "\x{2514}"; use charnames; say "\N{BOX DRAWINGS LIGHT UP AND RIGHT}"'
source
share