• Login
Community
  • Login

Encode in UTF-8

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
5 Posts 3 Posters 4.0k 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.
  • S
    Sridhar Bamandlapally
    last edited by Sridhar Bamandlapally Feb 11, 2016, 10:10 AM Feb 11, 2016, 10:09 AM

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

    C 1 Reply Last reply Feb 11, 2016, 9:20 PM Reply Quote 0
    • C
      Claudia Frank @Sridhar Bamandlapally
      last edited by Feb 11, 2016, 9:20 PM

      @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
      • S
        Scott Sumner
        last edited by Feb 12, 2016, 2:20 AM

        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
        • S
          Sridhar Bamandlapally
          last edited by Feb 12, 2016, 4:51 AM

          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

          C 1 Reply Last reply Feb 12, 2016, 4:48 PM Reply Quote 0
          • C
            Claudia Frank @Sridhar Bamandlapally
            last edited by Feb 12, 2016, 4:48 PM

            @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
            3 out of 5
            • First post
              3/5
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors