Problem with "Copy Raw File" when encoding is not UTF-8 #77064
Unanswered
DecimalTurn
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Product Feedback
Body
I think the behavior of the "Copy Raw File" button is problematic for files that are not encoded in UTF-8.
Take this file for example (encoded with Windows-1252):
https://github.com/DecimalTurn/Raw-File-Problem-Example/blob/main/Example.txt
The content of the file looks OK:
However, if you try to use the copy feature, and you paste it into any text editor, you'll see the following where all the non-ascii characters have been turned to �:
I think this is counter intuitive because we are used to the symbol "Copy" to mean that it will copy what we have in front of us and not some utf-8 parsed version of the raw file. This issue is especially problematic when the non-ascii characters are hard to notice because they are further down the file.
Beta Was this translation helpful? Give feedback.
All reactions