New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 777190 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Jan 2018
Cc:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Compat



Sign in to add a comment

Character set guessed wrong

Reported by jidanni@gmail.com, Oct 22 2017

Issue description

Example 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:
 

Comment 1 by jidanni@gmail.com, Oct 22 2017

Now try opening a .html file.

Your file was not found
It may have been moved or deleted.
ERR_FILE_NOT_FOUND

One can open .txt files but not .html files.
Labels: Needs-triage-Mobile
Cc: msrchandra@chromium.org nyerramilli@chromium.org sandeepkumars@chromium.org
Labels: Triaged-Mobile Needs-Feedback
@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!!

Comment 4 by jidanni@gmail.com, 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.

Comment 5 by jidanni@gmail.com, 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.
Project Member

Comment 6 by sheriffbot@chromium.org, Oct 23 2017

Labels: -Needs-Feedback
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
Labels: Needs-Feedback
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!!
Status: WontFix (was: Unconfirmed)
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!

Comment 9 by jidanni@gmail.com, 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