Last active
December 31, 2021 07:38
-
-
Save Nill-R/71cb8b3dfb30ae53777e3d698a30ca72 to your computer and use it in GitHub Desktop.
Convert to utf8
This file contains 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
#!/usr/bin/env bash | |
# https://github.com/nijel/enca | |
find ./ -name "*.php" -o -name "*.html" -o -name "*.css" -o -name "*.js" -type f | while read file; do enca -L russian -x UTF-8 "$file"; done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment