Skip to content
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

How can I switch the text charset? #3169

Open
paolosezart opened this issue Mar 9, 2024 · 1 comment
Open

How can I switch the text charset? #3169

paolosezart opened this issue Mar 9, 2024 · 1 comment

Comments

@paolosezart
Copy link

How can I set the encoding when saving and/or opening text files?
How is this done, for example, in the Notepad3 program:
09-03-2024

I have read the documentation and did not find an option to choose in which encoding I want to save the file. And most importantly, how to switch the text charset in an already opened file?
Thanks!

@AndrewDDavis
Copy link

AndrewDDavis commented Mar 21, 2024

It looks like this is done using the encoding setting. You would use the set command to change the setting permanently, or setlocal to change it for only the current file. E.g. setlocal encoding "utf-8". Details here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants