question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

UTF-8 text garbling on opening file

See original GitHub issue

When 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:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
code-ashercommented, Sep 10, 2020

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. 🤷

1reaction
code-ashercommented, Jul 9, 2020

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. 🤔

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found