Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix diff encoding for non ascii paths and non utf-8 file encoding #1
I use detect_all to fix hiroponz/example@ca33b50.
detect returns wrong encoding.
detect_all returns all possible encodings. In this case, ":language=>"ja" is right. So, I get "ja" from ENV"LANG", and find encoding by language.
@hiroponz Cool!. But
if i have a