How can I display Extended ASCII Codes characters in Perl?
问题 How to display 192 character symbol ( └ ) in perl ? 回答1: What you want is to be able to print unicode, and the answer is in perldoc perluniintro. You can use \x{nnnn} where n is the hex identifier, or you can do \N{...} with the name: perl -E 'say "\x{2514}"; use charnames; say "\N{BOX DRAWINGS LIGHT UP AND RIGHT}"' 回答2: To use exactly these codes your terminal must support Code Page 437, which contains frames. Alternatively you can use derived CP850 with less boxing characters. Such boxing