Character set guessed wrong
Reported by
jidanni@gmail.com,
Oct 22 2017
|
||||||
Issue descriptionExample URL: Steps to reproduce the problem: 1. Put some utf-8 text in a file. 2. Open it with Canary. 3. The characters set is guessed wrong. And there's no way to select the right one available to the user. intent://com.asus.filemanager.OpenFileProvider/file/sdcard/jidanni/adr.txt#Intent;scheme=content;type=text/plain;launchFlags=0x13080000;end ------------ ACTION: android.intent.action.VIEW DATA: content://com.asus.filemanager.OpenFileProvider/file/sdcard/jidanni/adr.txt MIME: text/plain URI: intent://com.asus.filemanager.OpenFileProvider/file/sdcard/jidanni/adr.txt#Intent;scheme=content;type=text/plain;launchFlags=0x13080000;end FLAGS: FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET FLAG_ACTIVITY_FORWARD_RESULT FLAG_ACTIVITY_PREVIOUS_IS_TOP FLAG_RECEIVER_FOREGROUND ------------ MATCHING ACTIVITIES: HTML Viewer (com.android.htmlviewer - com.android.htmlviewer.HTMLViewerActivity) Chrome Canary (com.chrome.canary - com.google.android.apps.chrome.IntentDispatcher) Chrome Dev (com.chrome.dev - com.google.android.apps.chrome.IntentDispatcher) What is the expected behavior? What went wrong? It thinks it is Latin one. Does it occur on multiple sites: N/A Is it a problem with a plugin? N/A Did this work before? N/A Does this work in other browsers? N/A Chrome version: 64.0.3245.0 Channel: canary OS Version: Flash Version:
,
Oct 23 2017
,
Oct 23 2017
@jidanni: Thanks for the report!! Could you please attach a sample html or .apk file which is causing the issue, details of your device and if possible attach a screencast as well, that would help us in further triaging of the issue. Thanks!!
,
Oct 23 2017
1. With a clean [ZenFone 3] [171003] ZE552KL_ WW_14.2020.1709.68 https://www.asus.com/zentalk/thread-184831-1-1.html upload a file.txt that contains some UTF-8 Chinese strings, Such file should open on the Desktop perfectly using Version 61.0.3163.100 (Developer Build) built on Debian buster/sid, running on Debian buster/sid (64-bit) Unfortunately with Canary on Android: 2. Use the stock file manager application. 3. Choose Canary, "Just once". If you see perfect UTF-8 rendering, then I will try again with your file. You should see garbled UTF-8. Note the above is about local .txt files. If you can even open an local .html file I will congratulate you.
,
Oct 23 2017
Note the stock HTML Viewer (com.android.htmlviewer - com.android.htmlviewer.HTMLViewerActivity) can open both the local .txt and .html files perfectly.
,
Oct 23 2017
Thank you for providing more feedback. Adding requester "sandeepkumars@chromium.org" to the cc list and removing "Needs-Feedback" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Oct 24 2017
Thanks for the response. Could help us with the test file where you exactly observe the issue, and a screencast, that would help us in better understanding of the issue. Thanks!!
,
Jan 29 2018
Closing this issue due to lack of feedback from reporter. Please feel free to file a new issue if the issue is still observed in latest Chrome #64.0.3282.123. Thanks!
,
Jan 29 2018
Just do in your Android shell $ echo 中文 > file.txt and then open it with Canary. It's just that simple. Tell me what you see. |
||||||
►
Sign in to add a comment |
||||||
Comment 1 by jidanni@gmail.com
, Oct 22 2017