You are not logged in.
I am working on a project in which the text files must be encoded in Shift_JIS, not UTF-8.
Is there a tool, or script, or something that will convert a UTF-8 encoded text file to Shift_JIS?
There is always something better.
Offline
I believe iconv can do what you want, but I prefer using recode (available from [extra]) for this kind of tasks due to its simpler syntax. Please note that the conversion is done in-place (your old files are overwritten by the converted ones).
recode UTF-8..SHIFT_JIS [FILE(S)]
Offline
Thanks, I'll keep this tool in mind as it was what I needed but it doesn't appear to have been the solution to my problem. Oh well.
Last edited by Furyhunter (2009-09-18 01:48:23)
There is always something better.
Offline