-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open file with specific encoding/charset #5294
Labels
editor
issues related to the editor
enhancement
issues that are enhancements to current functionality - nice to haves
Comments
a1994846931931
added a commit
to a1994846931931/theia
that referenced
this issue
Jun 6, 2019
…default encoding; Signed-off-by: Cai Xuye <a1994846931931@gmail.com>
a1994846931931
added a commit
to a1994846931931/theia
that referenced
this issue
Jun 6, 2019
…default encoding; Signed-off-by: Cai Xuye <a1994846931931@gmail.com>
a1994846931931
added a commit
to a1994846931931/theia
that referenced
this issue
Jun 6, 2019
…default encoding; Signed-off-by: Cai Xuye <a1994846931931@gmail.com>
a1994846931931
added a commit
to a1994846931931/theia
that referenced
this issue
Jun 6, 2019
…guration for default encoding; Signed-off-by: Cai Xuye <a1994846931931@gmail.com>
a1994846931931
added a commit
to a1994846931931/theia
that referenced
this issue
Jun 6, 2019
…guration for default encoding; Signed-off-by: Cai Xuye <a1994846931931@gmail.com>
a1994846931931
added a commit
to a1994846931931/theia
that referenced
this issue
Jun 11, 2019
…guration for default encoding; Signed-off-by: Cai Xuye <a1994846931931@gmail.com>
a1994846931931
added a commit
to a1994846931931/theia
that referenced
this issue
Jun 11, 2019
…guration for default encoding; Signed-off-by: Cai Xuye <a1994846931931@gmail.com>
a1994846931931
added a commit
to a1994846931931/theia
that referenced
this issue
Jun 12, 2019
…guration for default encoding; Signed-off-by: Cai Xuye <a1994846931931@gmail.com>
a1994846931931
added a commit
to a1994846931931/theia
that referenced
this issue
Jun 12, 2019
…figuration for default encoding; 3. save file in a specific encoding; Signed-off-by: Cai Xuye <a1994846931931@gmail.com>
a1994846931931
added a commit
to a1994846931931/theia
that referenced
this issue
Jun 13, 2019
…. configuration for default encoding; Signed-off-by: Cai Xuye <a1994846931931@gmail.com>
a1994846931931
added a commit
to a1994846931931/theia
that referenced
this issue
Jun 14, 2019
…. configuration for default encoding; Signed-off-by: Cai Xuye <a1994846931931@gmail.com>
a1994846931931
added a commit
to a1994846931931/theia
that referenced
this issue
Jun 20, 2019
…. configuration for default encoding; Signed-off-by: Cai Xuye <a1994846931931@gmail.com>
a1994846931931
added a commit
to a1994846931931/theia
that referenced
this issue
Aug 2, 2019
…. configuration for default encoding; Signed-off-by: Cai Xuye <a1994846931931@gmail.com>
a1994846931931
added a commit
to a1994846931931/theia
that referenced
this issue
Aug 9, 2019
…. configuration for default encoding; Signed-off-by: Cai Xuye <a1994846931931@gmail.com>
a1994846931931
added a commit
to a1994846931931/theia
that referenced
this issue
Aug 9, 2019
…. configuration for default encoding; Signed-off-by: Cai Xuye <a1994846931931@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
editor
issues related to the editor
enhancement
issues that are enhancements to current functionality - nice to haves
Description
Problem
Using UTF-8 all-the-time is truly a relief. But in reality, it happens that the source files are not encoded in UTF-8 and it looks bad then opened in theia. An example is shown below:
Solution of Visual Studio Code
There seems to be a solution on vscode where I found this on the right bottom window:
After clicking this, two commands pumped up:
Executing the first command, I got this:
which is really nice because everything works fine after I chose the recommended encoding. I couldn't find anything related on theia, not even a setting. I could have, of course, re-encoded all my files into UTF-8, but the way how vscode does this is just more elegant.
In the End
If there happens to be some other way to set the encoding/charset on theia, please tell me. If not, it will be really nice to have the feature on theia in some later version.
Reproduction Steps
None
OS and Theia version:
OS: Linux
Version: 0.6.0
Diagnostics:
None
The text was updated successfully, but these errors were encountered: