Community
    • Login

    UCS-2 encoding option missing

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 1.1k 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.
    • Alexis GuerinA
      Alexis Guerin
      last edited by

      20a8f9dd-1daa-490d-b60d-49a54b566dbe-image.png

      For some reasons the encoding option in UCS-2 are missing and I need to convert a txt file in UCS-2 LE BOM.

      PeterJonesP 1 Reply Last reply Reply Quote 1
      • PeterJonesP
        PeterJones @Alexis Guerin
        last edited by

        @Alexis-Guerin ,

        UCS-2 is a subset of what became the official UTF-16 spec – it has everything that UTF-16 does except for being able to go beyond the BMP: in other words, UTF-16 has more characters available than UCS-2.

        So if you think you find yourself wanting UCS-2, then what you really want to use is UTF-16, which is what Notepad++ supports. (And most software that claims to want UCS-2 will actually accept any valid UTF-16, because they don’t understand the difference between the two terms and they use the older name even though they’ve implemented the full UTF-16 standard. Even Notepad++ used to call those modes “UCS-2”, until someone pointed out that Notepad++ was using the wrong name for what was implemented.)

        So if you want UCS-2 LE, then use UTF-16 LE.

        Alexis GuerinA 1 Reply Last reply Reply Quote 3
        • Alexis GuerinA
          Alexis Guerin @PeterJones
          last edited by

          @PeterJones

          Thanks for your answer.

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