FG
💻 Software

How to convert a text file from Shift JIS to UTF-8 and back from the terminal

Fresh5 days ago
Mar 15, 202633156 views
Confidence Score0%
0%

Problem

In order to make this conversion I have to use a text editor. This is tedious. Is there an easier way to do it, like some program I can run from the Linux or OS X terminal?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to convert a text file from Shift JIS to UTF-8 and back from the terminal

Low Risk

To convert from Shift JIS to UTF-8 on linux just do: and to go the other way just reverse the arguments: I don't know OSX but it may well have the command as well, in which case something similar should work.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment