Community
    • Login

    the np++ is displaying gibberish, not words

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 3 Posters 1.7k 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.
    • Christopher Johns 0C
      Christopher Johns 0
      last edited by

      the np++ is displaying gibberish, not words. It does open with some microsoft app. I would like to ask for help in correcting my problem. this is what it looks like. i don’t know how else to describe, i hope this helps to explain…
      Notepad++ v8.4.4 (64-bit)
      Build time : Jul 15 2022 - 17:54:42
      Path : C:\Program Files\Notepad++\notepad++.exe
      Command Line :
      Admin mode : OFF
      Local Conf mode : OFF
      Cloud Config : OFF
      OS Name : Windows 10 Home (64-bit)
      OS Version : 21H2
      OS Build : 19044.1826
      Current ANSI codepage : 1252
      Plugins :
      mimeTools (2.8)
      NppConverter (4.4)
      NppExport (0.4)

      8992dcaf-7b23-4bbd-ba7f-ccfce9e44765-image.png

      notepad++ 1.jpg

      PeterJonesP Alan KilbornA 2 Replies Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @Christopher Johns 0
        last edited by PeterJones

        @Christopher-Johns-0 ,

        The paths in the two screenshots are not the same. Based on the extension .pak I am assuming a zipped (or I should say packed) archive of some sort. Presumably, the unspecified MS app is unpacking the data into an xml file in your temp directory before displaying it for you. Notepad++ does not know how to unpack the file, and is showing you the raw packed bytes as if they were text on their own.

        The same would happen if you tried to open a .zip or .gz or .ear file directly in Notepad++ without extracting the underlying file from the archive first.

        See also this FAQ

        1 Reply Last reply Reply Quote 3
        • Alan KilbornA
          Alan Kilborn @Christopher Johns 0
          last edited by

          @Christopher-Johns-0

          The two bytes that start the file on line 1, PK are a dead giveaway that this is a zipped archive file, as Peter indicated. Long ago, zip files were created with a program called pkzip.exe and their contents extracted with a program called pkunzip.exe. I think P was for the name of someone named “Phil”. I’ll really press my memory and say the K was for “Katz”. (I could cheat and google it, but it is often more fun to just try to pull stuff from memory – googling it is left as an exercise for interested readers)

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