Advertisement
hakonhagland

perl-curses-russian-utf8

Feb 21st, 2022
1,743
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 0.22 KB | None | 0 0
  1. #! /usr/bin/env perl
  2.  
  3. use strict;
  4. use warnings;
  5. use utf8;
  6. use Curses;
  7. binmode STDOUT, ':encoding(utf-8)';
  8. initscr();
  9. noecho();
  10. cbreak();
  11. addstr(0, 0, "testing: привет");
  12. refresh();
  13. my $ch = getch();
  14. endwin();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement