Community
    • Login

    Encode in UTF-8

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    5 Posts 3 Posters 4.3k 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.
    • Sridhar BamandlapallyS Offline
      Sridhar Bamandlapally
      last edited by Sridhar Bamandlapally

      Option “Encode in UTF-8” is not working as expected, its not removing BOM

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC Offline
        Claudia Frank @Sridhar Bamandlapally
        last edited by

        @Sridhar-Bamandlapally
        I’m using npp 6.8.8. and it is working.

        Do you have some additional infos?

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • Scott SumnerS Offline
          Scott Sumner
          last edited by

          Maybe this “problem” has to do with the recent renaming of the encoding options for UTF-8 with and without BOM? Maybe the OP is just used to the old naming scheme and is now confronted with the new names? There was a post recently about this renaming…

          1 Reply Last reply Reply Quote 0
          • Sridhar BamandlapallyS Offline
            Sridhar Bamandlapally
            last edited by

            This may be specifically happening xml data-file,

            The file having junk/BOM characters before first xml tag of each line,

            I saved with UTF-8 and transferred to Linux box, still can see junk/BOM characters

            thanks
            Sridhar

            Claudia FrankC 1 Reply Last reply Reply Quote 0
            • Claudia FrankC Offline
              Claudia Frank @Sridhar Bamandlapally
              last edited by

              @Sridhar-Bamandlapally

              hmm, I might be wrong but I thought BOM is a file marker which appears on the beginning of a file
              not in the middle but what I can think of is that windows uses \r\n and linux \n. Maybe you see the
              \r instead?

              Cheers
              Claudia

              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