Code-server: No file encoding button display

Created on 21 Mar 2020  路  9Comments  路  Source: cdr/code-server

VS code has a button at the bottom to switch file encode type, such as gbk, utf8, but it does not show up tn code server. i have tried in my os deepin 15.10, open suse 15.1, suse server 12 sp3, all of them were missing this func. but i found ur shortcuts have this button, so i am wondering why this func is missing in my OSs.

blocked bug upstream

Most helpful comment

@gnouts sorry to hear. We can definitely fix this if enough interest arises. For now, unfortunately it's a pretty low-priority issue.

Feel free to take a stab at it though, we'd happily merge your contribution :)

All 9 comments

V3&V2 matters.
V1 works well

Thanks for the report. We should definitely support multiple file-encoding types.

This is a blocker for me.
If I try to use v1 I'm stuck with this bug https://github.com/cdr/code-server/issues/338
And v2 and v3 don't offer to change encoding.
I try changing the settings.json with "files.encoding": "windows1252" but it doesn't seem to do anything.
Is there a workaround to change encoding ? (I really need to open files with special char like 陇 )

@gnouts sorry to hear. We can definitely fix this if enough interest arises. For now, unfortunately it's a pretty low-priority issue.

Feel free to take a stab at it though, we'd happily merge your contribution :)

a sad story for Chinese developers

UTF-8 open as Layout U.S. and kill not english chars

I'd like to contribute to this issue by specifying my use-case, so you can keep it in mind once it gets unblocked.

I need to be able to specify encoding on a per-language basis.

Duplicate of #1017

Was this page helpful?
0 / 5 - 0 ratings

Related issues

chrischabot picture chrischabot  路  3Comments

infogulch picture infogulch  路  3Comments

sa7mon picture sa7mon  路  3Comments

oonqt picture oonqt  路  3Comments

KSXGitHub picture KSXGitHub  路  3Comments