UTF-8 text garbling on opening file
See original GitHub issueWhen I open the file (bake.txt), the editor of vscode tab has a text garbling.
Attached file (bake.txt) has 1000 repeated same lines and no text garbling. But, opened file in editor has garbled line, it’s line number is always 586.
It is reproduced on chrome and safari.
Log file is here. ClientLogPane Log(Remote Server).txt
- Web Browser: chrome & safari
- Local OS: MacOS Catalina
- Remote OS: Debian10
- Remote Architecture: x64
code-server --version
: code-server 3.4.1 48f7c2724827e526eeaa6c2c151c520f48a61259
thanks.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
UTF-8 encoded CSV file opening garbled
UTF-8 encoded CSV file opening garbled · 1. Open Excel, search "Get Data From Text" to open a wizard when you want to...
Read more >Why do the characters in my .txt file job look garbled?
To do this, simply open the .txt file with Notepad, click File > Save as, at the bottom change “Encoding” to UTF-8, and...
Read more >When open a non-utf8 text file, the txt will be garbled. #27
As most Windows text files is not encoded as utf8, is there any solution to solve this problem?
Read more >UTF-8 text is garbled when form is posted as multipart ...
Only the filename seems to be garbled. The MySQL table where the file name goes supports UTF-8. I gave random non-English characters &...
Read more >How to Fix Corrupted Character Encoding (Corrupted Text) ...
TXT file extension, will occasionally come across documents showing garbled text instead of what is expected.
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 FreeTop 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
Top GitHub Comments
I wasn’t aware but that’s great news! I’ll go ahead and close the issue.
I wonder if it was accidentally fixed when the streams were modified to support multiple encodings.
Edit: also sorry for not responding earlier; I didn’t get an email notification until 50 minutes ago for some reason. 🤷
It works fine with the extension so it could be our implementation or it could be something in the web portion of VS Code, maybe with where it reads the stream returned by the server. 🤔