Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    How to remove hidden characters

    General Discussion
    2
    3
    22163
    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.
    • R. Todd Cary
      R. Todd Cary last edited by

      Often I use Notepad++ to remove hidden characters - have just straight ASCII. Recently, I have found that some hidden formatting characters are still present if I paste the text from Notepad++ to an HTML editor.

      How can I remove those characters?

      Thank you.
      Todd

      1 Reply Last reply Reply Quote 0
      • pixman20
        pixman20 last edited by

        I had this exact problem about a month ago.
        Two seemingly identical lines produced different results in my JavaScript.
        It turned out that there was a hidden character in one line causing it to fail.
        If I remember correctly, I simply changed the encoding in N++ to ANSI to find the hidden characters.
        See if that works for you.

        1 Reply Last reply Reply Quote 2
        • R. Todd Cary
          R. Todd Cary last edited by

          Thank you! That appears to have solved my problem.

          Todd

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright © 2014 NodeBB Forums | Contributors