Skip to content

Instantly share code, notes, and snippets.

@AhmedHelalAhmed
Last active September 13, 2022 19:15
Show Gist options
  • Save AhmedHelalAhmed/fd22f722c8b657686862163a78382ba7 to your computer and use it in GitHub Desktop.
Save AhmedHelalAhmed/fd22f722c8b657686862163a78382ba7 to your computer and use it in GitHub Desktop.
strange-arabic-words.txt
#!/bin/bash
file="result.txt"
while read -r line; do
#echo -e "$line\n"
iconv -fwindows-1256 -tutf8 "$line" > "$line"'_fixed'
done <$file
// iconv -fwindows-1256 -tutf8 test
// find . -type f | egrep "[.]srt" >> result.txt
@AhmedHelalAhmed
Copy link
Author

AhmedHelalAhmed commented Sep 13, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment