Community
    • Login

    File Issue: cyrillic symbols in file displayed as '?'

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 3 Posters 466 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.
    • mike-carloveM
      mike-carlove
      last edited by

      Hello!

      I am using Notepad++ for years and everything works properly.
      Until the one recent day…
      I launch Notepad++ and sadly see that one of my file was broken, somehow and for some reason.
      All cyrillic symbols in file displayed as ‘?’ now.
      Already tryed various solutions (with a copy of this file) - playing with codepages, reopen with other apps and so on.
      But sadly have no positive effetcs so far.

      So, my questions to Community are simple:

      1. Can I save my data in this file or I losed beyond retrieve that already?
      2. Why it was happen (what causes this) and How to prevent data loss in future?

      Thank You!
      2021_1122 Вопрос по Notepad++.jpg

      artie-finkelsteinA 1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones
        last edited by

        @mike-carlove ,

        Unfortunately, we do not have enough information to tell you what happened, and whether it’s a lost cause or not.

        My first guess is that the encoding got messed up – if your screenshots included the full status bar, it would tell us what encoding Notepad++ thinks it is – so maybe re-copying the original, and showing us a more full screenshot.

        Another guess would be that the font that you’re using was accidentally or intentionally changed, but that it no longer supports the cyrillic symbols that are in your file – often, a ? is used to represent a glyph that the current font doesn’t have.

        For finding out what bytes are actually in the file, in this instance, I wouldn’t recommend the Notepad++ HEX-Editor plugin, because it’s showing the hex after Notepad++ has interpreted the characters, so it doesn’t always show what’s in the underlying file. Instead, you might want to try with a tool like HxD (a hex editor) or a hex-dumper like od (you can get it in the coreutils download from gnuwin32): at a command prompt, od -t x2z -v filename will show a hexdump of that file with that utility. Or if you have some other hexdump utility, feel free to use that. There are those of us here who know enough about encoding to maybe give you more insight if you provide us with at least a portion of the hexdump near the beginning of the file.

        (I doubt that Notepad++ really corrupted the file, but maybe there was something that was accidentally done with Notepad++ that did – or maybe something external changed the file. I cannot guarantee that we can recover your data, but without more information, we won’t be able to take any more steps.)

        1 Reply Last reply Reply Quote 2
        • artie-finkelsteinA
          artie-finkelstein @mike-carlove
          last edited by

          @mike-carlove Any chance the menu selections in ‘the Encoding’ options have been changed?

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