Hi,
I'm trying to use iconv to convert a Shift-JIS document to UTF-8. It's successful in Terminal, but not so in TextMate.
The command I use in Terminal is:
iconv -f shift-jis -t utf-8 text1.txt>text2.txt
This converts the file successfully.
In TextMate, I set up a command, using:
iconv -f shift-jis -t utf-8 "$TM_FILEPATH"
in Command(s) field. I set Save: Nothing Input: None Output: Replace Document
Activation and Scope Selector are unset. After using this command, I see a diamond-like character at the end of each line.
Any help would be appreciated.
Takaaki