When migrating from windows to mac, if the character code of the Java file is sjis, a compile error will occur on Mac.
Here are the steps to convert files for Mac.
Search with nkf. Maybe you can download it from Vector
nkf -wLm --overwrite **/*.java Convert to Utf8 with line feed code for Mac But only the files in the current folder are converted (maybe)
In windows, it corresponds with a batch file for /r %%i in (*.java) do nkf -wLm --overwrite %%i
%% i is the full path of the file name. Please check before using.
Recommended Posts