Unable to open '<filename>': Unknown encoding: iso88591.
See original GitHub issuecode-server
version: code-server-1.32.0-310-linux-x64- OS Version: Ubuntu 16.04.6 LTS
Description
Changing encoding for a single file using UI to iso88591 (by clicking on encoding in right bottom corner and choosing “reopen with…”) works fine. However when i try to set default encoding for all files in settings
Files: Encoding The default character set encoding to use when reading and writing files. This setting can also be configured per language.
then i get this error message when i try to switch back to any opened file:
Unable to open '<filename>': Unknown encoding: iso88591.
The only way to fix this is to set it back to utf-8.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Unknown Encoding · Issue #153 · Toblerity/Fiona - GitHub
The original file opens just fine with fiona---it is given the encoding 'iso-8859-1' . If I try to open the converted file, its...
Read more >Unable to open XML file with ISO-8859-1 encoder
Unable to open XML file with ISO-8859-1 encoder · 1.Click Start, and then click Run. · 2.In the Open text box, type cmd,...
Read more >List of encodings that Node.js supports - Stack Overflow
However, Node complains about "latin1" or "ISO-8859-1" not being a valid encoding ("Error: Unknown encoding"). What encodings does readFileSync accept? node.js.
Read more >iso-8895-1 error - Google Groups
(filename,mode,charset,errors) File "/usr/lib/python2.5/codecs.py", line 820, in open info = lookup(encoding) LookupError: unknown encoding: iso-8895-1
Read more >Problem with reading text file encoded in Western encoding ...
To do this, open gedit, select "Open" option and find the neeeded file. Then choose the character encoding (bottom left side) and pick...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I also tried locally in native VSCode and it seemed to revert the encoding to UTF8
I tested this out in v2 and it appears to work. 🎊