Issue metadata
Sign in to add a comment
|
No way to see UTF-8 file
Reported by
jidanni@gmail.com,
Mar 20 2017
|
||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0 Example URL: file:///tmp/r Steps to reproduce the problem: 1. Save the attchment to /tmp/r 2. browse file:///tmp/r 3. What is the expected behavior? See the file in UTF-8 charset What went wrong? Charset guessed wrong and no way to chose other charset. Does it occur on multiple sites: N/A Is it a problem with a plugin? No Did this work before? Yes At least there used to be ways to override it. Does this work in other browsers? Yes Chrome version: <Copy from: 'about:version'> Channel: n/a OS Version: Flash Version: Shockwave Flash 24.0 r0 Other browsers have ways to override incorrect charset guesses.
,
Mar 20 2017
LANG=en_US.UTF-8 LANGUAGE=en_US:en
,
Mar 20 2017
,
Mar 20 2017
,
Mar 20 2017
Is the extension supposed to handle file URLs as well?
,
Mar 20 2017
All I know is a most browsers these days can handle UTF-8, since the 90s. Also we are working offline with file:/// URLs. We do not / cannot go online to download additional components.
,
Mar 20 2017
If the browser cannot support Unicode / UTF-8 out of the box, then it will lose its Unicode Certification, if any.
,
Mar 21 2017
Can you upload the screenshot of what you're seeing (i.e. the result of wrong charset)? Attached file is what I got. Is this not the expected output?
,
Mar 21 2017
Yes you got Unicode. I got a "western" looking charset which I will upload here when I get home.
,
Mar 23 2017
I have the same issue. Also it reproduces with cyrillic and other characters. Windows 10 pro x86_64, russian locale, Chrome 57.0.2987.110
,
Mar 23 2017
Same issue, garbled differently, supposedly due locale, screenshot attached. Windows 10 pro x86_64, cs-CZ locale, Chrome 57.0.2987.110 (Official Build) (64-bit) Seems that any random text editor I have installed has better charset detection than todays Google Chrome.
,
Mar 23 2017
There's a similar discussion in Firefox from a couple years ago: https://bugzilla.mozilla.org/show_bug.cgi?id=1071816
,
Mar 25 2017
I get the same as https://bugs.chromium.org/p/chromium/issues/attachment?aid=276585 with pristine chromium, LANG=en_US.UTF-8 USER=nobody LANGUAGE=en_US:en
,
Mar 25 2017
https://en.wikipedia.org/wiki/Byte_order_mark#UTF-8 The Unicode Standard permits the BOM in UTF-8,[3] but does not require or recommend its use.[4]
,
Mar 29 2017
Sorry I didn't get notified of the updates due to not being cc'ed. This is a bug and a fix is in review. Please see Issue 704800 |
|||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||
Comment 1 by jidanni@gmail.com
, Mar 20 2017