Community
    • Login

    UCS-2 encoding option missing

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 1.9k Views 2 Watching
    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 Offline
      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 Offline
        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 Offline
          Alexis Guerin @PeterJones
          last edited by

          @PeterJones

          Thanks for your answer.

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors