<theme>.xml save bug
Антон Потапов last edited by Антон Потапов
I came across a very interesting error. Made a copy of the file DarkModeDefault.xml (its own theme) and began to slowly adjust the colors. At some point, the file inexplicably grew to ~288 MB, and Notepad++ began to open extremely slowly. The search for the reasons showed that the “Ã” character in the creator’s name (Jani KesÃ¤net) doubled every time it was saved, until the string with it reached a length of ~269M characters (against ~176K characters of the source file) and began to significantly slow down Notepad++. I was forced to completely delete this line in order to normalize the work of Notepad++, because it looks like the duplication bug is related to the “Ã¤” combination of symbols.
Alan Kilborn last edited by
…because it looks like the duplication bug is related to the “Ã¤” combination of symbols.
For me, it appears like this, so I don’t see those “symbols”:
…and I don’t show it, but trust me, my status bar says the encoding is UTF-8, just like yours does. If I edit and save this file, this character doesn’t “grow” like it does for you.
So I’d say it is some sort of odd encoding issue (for you), but we’ve got UTF-8 in line 1 of the file, and also in the status bar, so
I will say it made me think of some other encoding issue I read about recently HERE. But I think that is just a curiosity, not related.