nkf recognizes an input text in wrong encoding.
Issue
- nkf recognizes an input text in wrong encoding.
- It does not match text before conversion and converted text.
$ echo $LANG
ja_JP.UTF-8
$ echo "齋藤" | nkf -w
鮨玖陸
Environment
- nkf
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.