Community
    • Login

    INI files opening in wrong language (Temporary fix found)

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 288 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.
    • Red GreenR
      Red Green
      last edited by Red Green

      After the latest update INI files open encoded in json rather than INI. I checked the langs.xml file and the associations are correct, but trying to comment out the json block causes the files to open in json5, which doesn’t even appear in the langs file!

      How do I fix this?

      It’s really annoying having the entire file have that glaring red “ERROR” background from json, and I shouldn’t need to manually change to the right language every single time I open a file.

      Edit: Apparently adding ini to the user ext in the “Style Configurator” fixes this issue, but is there a more proper solution?

      Debug info:
      Notepad++ v8.6.9 (32-bit)
      Build time : Jul 12 2024 - 05:08:26
      Path : C:\Program Files (x86)\Notepad++\notepad++.exe
      Command Line : “D:\Program Files (x86)\GOG Galaxy\Games\Weird Worlds\default\gamedata\items\wp_projgluw.ini”
      Admin mode : OFF
      Local Conf mode : OFF
      Cloud Config : OFF
      Periodic Backup : ON
      OS Name : Windows 10 Home (64-bit)
      OS Version : 22H2
      OS Build : 19045.4894
      Current ANSI codepage : 1252
      Plugins :
      mimeTools (3.1)
      NppConverter (4.6)
      NppExport (0.4)

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @Red Green
        last edited by

        @Red-Green ,

        when I take a portable v8.6.9 (which just has the default extensions from langs.xml, with no changes in the Style Configurator user-ext) and open an ini file, it appropriately identifies it as an INI.

        0ea277b6-4e19-4f07-bb1f-576d151e3dc7-image.png

        Can you use the </> button in your reply and paste in a short .ini file which consistently is mis-identified, so we can try to reproduce the problem? Because right now, “it works for me”.

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