Created
March 13, 2025 16:25
-
-
Save geminixiang/f98b94b1f66d4db2f71c333a8e1e072a to your computer and use it in GitHub Desktop.
GBK 轉碼成 UTF-8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find ./ -name "*.srt" -type f -exec bash -c 'iconv -f GBK -t UTF-8 "{}" > "{}.utf8" && mv "{}.utf8" "{}"' \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment