因為工作需要,必須開啟很多用Windows 筆記本編輯的純文字檔,
(在mac中,我最常用的是「文字編輯」程式)
但是,我發現win 筆記本程式存成 ANSI 編碼的純文字檔,
在mac 中常常無法順利開啟。我有試過用 safari 去開這些純文字檔,
可是常常還是出現亂碼。
請問各位有沒有什麼開啟win 純文字檔的偏方?
因為我常常使用 OSX 的 文字編輯來記一些小東西
例如軟體的使用方法等
但一但傳給了朋友,朋友用 WINDOWS 的筆記本打開時。
本來在 我的 OSX 內是有斷行的,但到了 WINDOWS打開時
全部變成一行。請問這個問題有解嗎 ?
就算我在 OSX 上面是用草苺來編輯也一樣是這個結果勒。
請問有人可以教教我嗎?
新增資料夾把要轉換的檔都丟進去
開終端機切換(cd)到檔案所在的資料夾下flip這個指令
$ flip -d *.txt
--
Usage: flip [-t|-u|-d|-m] filename[s]
Converts ASCII files between Unix, MS-DOS/Windows, or Macintosh newline formats
Options:
-u = convert file(s) to Unix newline format (newline)
-d = convert file(s) to MS-DOS/Windows newline format (linefeed + newline)
-m = convert file(s) to Macintosh newline format (linefeed)
-t = display current file type, no file modifications
--
http://blog.roodo.com/justinlove/archives/2437243.html
內文搜尋
X




























































































