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
Character Encoding not set as specified #41
Comments
You are right that there is no support for That said, you are right that it should do something with the charset. Notepad++ has support for various character sets. And what should be done with a document that is in for instance |
Thanks for your answer, this helps me to know what I can expect for now. I agree with you, it should be defined what should be done.
|
Dutch is my native language, so I don't run into those encoding problems much. I have never had any problems with Notepad++ detecting the encoding of a document. But as said, Dutch doesn't have much special characters, mainly the regular vowels with accents. Just setting the encoding will just break documents. Learned the hard way 😉 I am really no fan of the dialog, because that become very annoying very soon. Based on that I would prefer option 2. There are |
I see your point and I agree. |
Based on the discussion in the Notepad++ community, there are users in the wild who would like to at least have the But further, it would be nice if EditorConfig would recognize the |
Supporting Funnily enough, it is a concept I have looked at a while ago. I have written a plugin that supports some basic vim modeline settings (a similar concept for vim). On the Linux CLI I am a vim user and have never used Emacs. But that plugin is "designed" to support multiple file settings formats. Adding support for Emacs File Variables should be possible, but I need someone to provide the right information and is willing to test it. Note that that plugin is never released and I assume I am the only user. It does not support those encoding settings yet, because I don't have a personal need for it but can be done, just like it needs to be done for this editorconfig plugin. If there is a broader interest in my file settings plugin, I will gladly put some effort in it and release it. But in that case open an issue in that repo and let's not "spam" this issue with it too much. |
Hi,
I can't believe that I am the only one to realize that this is not working, so probably I am doing something wrong:
I am using Notepad++ 8.1.5 (64bit), I have installed the EditorConfig plugin, I have created a .editorconfig file, in my case with this content:
Now when I open another simple text file (no special characters or something) from the same folder, it still is interpreted as ANSI encoding.
When I click on "Show EditorConfig settings for this file" it correctly shows me the content of .editorconfig.
Any ideas what can be wrong?
Walterdrink
The text was updated successfully, but these errors were encountered: