Community
    • Login

    <theme>.xml save bug

    Scheduled Pinned Locked Moved General Discussion
    2 Posts 2 Posters 245 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Антон ПотаповА
      Антон Потапов
      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.
      notepad++_CsLkBn7cq1.png QmiaT79FHr.png

      Alan KilbornA 1 Reply Last reply Reply Quote 1
      • Alan KilbornA
        Alan Kilborn @Антон Потапов
        last edited by

        @антон-потапов

        Interesting.

        …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”:

        f376ba2a-fec2-4b85-ab2d-c1996c68acd6-image.png

        …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’m mystified.

        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.

        1 Reply Last reply Reply Quote 3
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors