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.

[Feature request] i need GBK or GB2312 encoding choice

See original GitHub issue

need a GBK encoding option

I am a user from china , and lots of txt stuff I download from internet are encoding by GBK which is not readable under utf-8 encoding style.

I need to have a GBK encoding option or you can give me a button to easy change the encod from GBK to utf-8 , then i don’t have to change the encode using vscode every time

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
0x7c13commented, Mar 8, 2020

i

Can the new feature be like vscode, click the lower right corner button to switch coding?

Yes, I am working on the feature (reopen with encoding + save as encoding). Basically I am going to add all ANSI encodings including GB2312.

1reaction
0x7c13commented, Mar 4, 2020

For the time being, can you try use “ANSI” as default encoding in the setting menu? It will treat files with no BOM as ANSI and use default Windows code page. If your system is using Chinese as main language, it should use GBK as default.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The difference between UTF-8 GBK UTF8 GB2312 and ...
GBK is the standard of GB2312 compatible GB2312 on the basis of national standard. GBK's text encoding is expressed in two-byte notation, that ......
Read more >
Encoding error in Python with Chinese characters
I'm a beginner having trouble decoding several dozen CSV file with numbers + (Simplified) Chinese characters to UTF-8 in Python 2.7. I do...
Read more >
the current version can't auto guess the right encoding
When I open the gb2312 file, it goes well first, it seem like it find the right encoding, but the vscode will refresh...
Read more >
Allow to configure a list of encodings to use when guessing
In my environment we have files in two encodings - UTF-8 and Windows1251 (most popular text file encoding in Russia), so I need...
Read more >
Hex-Editor plugin failed to handle files other than UTF8 ...
I tested the hex editor with 3 files containing same content but different encodings - UTF8, BIG5, & GB2312. However, no matter which...
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