nkf recognizes an input text in wrong encoding.

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content