in reply to Re^4: Match full utf-8 characters
in thread Match full utf-8 characters
You're probably way above my head here, but when using STDIN->can("getc") it does not wait for user input, which is what I am doing with my construct.
Also, attempting to use "<:utf8" instead of "r" gives IO::Handle: bad open mode... error.
I also tried moving binmode(STDIN, ':utf8') call to after opening the filehandle as recommended here: https://perldoc.perl.org/perlfunc.html#binmode-FILEHANDLE%2c-LAYER -- but that did not help.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Match full utf-8 characters
by Anonymous Monk on Apr 29, 2019 at 16:24 UTC | |
by Allasso (Monk) on Apr 29, 2019 at 17:44 UTC |