LoginSignup
6
7

More than 5 years have passed since last update.

[メモ書き] windowsから送られてきたzipがMacで文字化けするの何とかする

Last updated at Posted at 2014-11-13

Q. windowsから送られてきたzipがMacで文字化け何とかしたい

A. unarコマンドを使う

コレ
http://unarchiver.c3.cx/commandline

brew install unar

brew 使ってない方はよしなに

unar windowsから送られてきた.zip

でOK.

向こうのエンコードによってはダメかも

Q. ファイル名は解消出来たけど、中身が文字化けしてんだけど

A. nkfコマンドをつかう

(Linux系ではおなじみかな)

brew install nkf

UTF-8コードへ変換

nkf -w 文字化けしてるファイル.txt > 適当なファイル名.txt

6
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
7