Skip to content
Snippets Groups Projects
Commit 81ffadc7 authored by Gerhard Gonter's avatar Gerhard Gonter :speech_balloon:
Browse files

in UTF-8 mode, stdin should use layer :utf8

parent c77b4ebd
No related branches found
No related tags found
No related merge requests found
...@@ -93,7 +93,7 @@ my $find_pattern= undef; # this is used for a pattern match ...@@ -93,7 +93,7 @@ my $find_pattern= undef; # this is used for a pattern match
my $search_string= undef; # this is used to select a certain value in a column my $search_string= undef; # this is used to select a certain value in a column
my $max_items= undef; my $max_items= undef;
sub set_utf8 { $UTF8= 1; binmode (STDOUT, ':utf8'); } sub set_utf8 { $UTF8= 1; binmode (STDIN, ':utf8'); binmode (STDOUT, ':utf8'); }
sub usage { system ("perldoc '$0'"); exit (0); } sub usage { system ("perldoc '$0'"); exit (0); }
my @PAR= (); my @PAR= ();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment