Sample Header Ad - 728x90

Android Enthusiasts

Q&A for enthusiasts and power users of the Android operating system

Latest Questions

8 votes
1 answers
2250 views
How can I view downloaded .txt files as UTF-8 in Chrome on Android 13?
We download many UTF-8 encoded .txt files. [![Download list][1]][1] Later in the e.g., [Northwoods](https://en.wikipedia.org/wiki/Northwoods_(forest)), far from the Internet, we find they are unreadable. [![latin1 wrong charset][2]][2] Yes, we could simply open them in a different app, but we wish t...
We download many UTF-8 encoded .txt files. Download list Later in the e.g., [Northwoods](https://en.wikipedia.org/wiki/Northwoods_(forest)) , far from the Internet, we find they are unreadable. latin1 wrong charset Yes, we could simply open them in a different app, but we wish to keep using Chrome. No, the files don't contain byte order marks . Yes, there is no problem on Android 8, but things are much different on Android 13. As we observe, the content:// URI does not pass character set information, so the browser can only assume it is latin1 . How can I view downloaded .txt files as UTF-8 in Chrome on Android 13?
Dan Jacobson (533 rep)
Apr 3, 2023, 02:14 AM • Last activity: May 13, 2023, 12:00 PM
0 votes
0 answers
161 views
Why are files with wrong character encoding name write-protected?
I'm unable to delete the files with [wrong character encoding in names](https://android.stackexchange.com/q/249146/94084) on my phone. I plug it into my Windows PC and try to delete it in File Explorer. It says the files are write-protected: ![](https://i.sstatic.net/xj6VR.png) [This guide](https://...
I'm unable to delete the files with [wrong character encoding in names](https://android.stackexchange.com/q/249146/94084) on my phone. I plug it into my Windows PC and try to delete it in File Explorer. It says the files are write-protected: ![](https://i.sstatic.net/xj6VR.png) [This guide](https://www.youtube.com/watch?v=I79JQewqs00) tells me to
su
restorecon -v -R /data/media
The output is
u0_a82@j1x3g:/ $ su
root@j1x3g:/ # restorecon -v -R /data/media
Function: selinux_compare_spd_ram , priority  , priority version is VE=SEPF_SM-J120H_5.1.1_0069
SELinux: Loaded file_contexts from /file_contexts
SELinux: Skipping restorecon_recursive(/data/media)
root@j1x3g:/ #
But the deletion still doesn't work. Nevertheless I can do this via adb. Do you know why this happens?
Ooker (526 rep)
Feb 26, 2023, 05:25 PM • Last activity: Mar 12, 2023, 07:36 AM
Showing page 1 of 2 total questions