![]() ![]() editorconfig files will stop if the root filepath is reached or an EditorConfig file with root=true is found.ĮditorConfig files are read top to bottom and the most recent rules found take precedence. editorconfig in the directory of the opened file and in every parent directory. When opening a file, EditorConfig plugins look for a file named. indent_style = space indent_size = 2Ĭheck the Wiki for some real-world examples of projects using EditorConfig files. end_of_line = lf insert_final_newline = true # Matches multiple files with brace expansion notation That is why the Unicode characters are lost (in "ANSI" mode) when copying the text out through the clipboard (it is not a font issue - information is lost).Root = true # Unix-style newlines with a newline ending every file If the encoding is changed this is the result:Īs can be seen in the figure below (the Cyrillic part is highlighted), Notepad++ actually converts the Unicode characters into ASCII 63 (hexadecimal 3F), question marks. If the encoding is not changed from "ANSI" this is the result: I copied some text to a new Notepad++ document, Russian (русский язык, russkiy yazyk), from Firefox showing the Wikipedia page Russian language. The solution is to set the encoding to UTF-8 before pasting, menu Format → Encode in UTF-8: ![]() ![]() "ANSI" is the default in Notepad++ for a new document, unless set in menu Settings → Preferences → tab New Document/Open Save Directory. There isn't any auto-detection when used with an empty/new document, at least not in the version of Notepad++ I tested it on (v5.4.5). The problem described in the question happens when an empty/new document is set to "ANSI", and Unicode characters are pasted into it. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |