How can I check what encoding is used in a file, then read the file with this encoding and the save it with the same or a different encoding in Android. I haven’t seen any good options for this. Any suggestions?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use juniversalchardet library to automatically detect the encoding. It has an array of per-defined encoding set to look for.
Currently supported encodings are: