Community
    • Login

    Unexpected text display change for >=

    Scheduled Pinned Locked Moved General Discussion
    5 Posts 5 Posters 333 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.
    • Martin L. BuchananM
      Martin L. Buchanan
      last edited by

      I have lived largely in Notepad++ and relied on it for many years, because it is a straightforward text editor and does not do weird things to my text.

      So just created a new UTF-8 text file, was typing in text, and typed >= which changed to display what looks like the Unicode character for greater than or equal (≥ (U+2265)). The same behavior occurred even if I typed >, a space, and then =, then removed the space.

      When I copied that apparent single character out of my file and pasted it in a Unicode character finder on the web to identify the character, it came back as the vanilla >= that I wanted in the first place.

      Looked at Preferences and at the documentation and have no explanation for this, what now appears to be a display issue, my text not appearing as what it is. In computing you more often want >= to appear as such.

      Thank you for any solutions or thoughts about this,

      Martin L Buchanan
      Laramie, WY, USA

      Terry RT Alan KilbornA 2 Replies Last reply Reply Quote 1
      • Terry RT
        Terry R @Martin L. Buchanan
        last edited by

        @Martin-L-Buchanan said in Unexpected text display change for >=:

        it came back as the vanilla >= that I wanted in the first place.

        My immediate thoughts would be to look at your Style Configurator settings. perhaps paste a copy of that here.

        Maybe a combination of Language, Style, which theme and font used might have contributed to this display.

        Terry

        1 Reply Last reply Reply Quote 1
        • Alan KilbornA
          Alan Kilborn @Martin L. Buchanan
          last edited by Alan Kilborn

          @Martin-L-Buchanan

          You probably have a font selected that has support for ligatures.
          And you may have Direct Write turned on in the Preferences (not sure about this, though; I’m AFK).

          Note: Your data hasn’t changed, just what it looks like has changed. This is confirmed by when you copy and paste that data to another source, and you get 2 characters instead of 1.

          In computing you more often want >= to appear as such

          Disagree.
          Try typing ! and then = right next to it … and now you are living in a better world.

          B 1 Reply Last reply Reply Quote 3
          • B
            BrBill @Alan Kilborn
            last edited by

            @Alan-Kilborn I want to turn this off too. It also displays != as ≠. Does anyone know?

            PeterJonesP 1 Reply Last reply Reply Quote 0
            • PeterJonesP
              PeterJones @BrBill
              last edited by PeterJones

              @BrBill said in Unexpected text display change for >=:

              @Alan-Kilborn I want to turn this off too. It also displays != as ≠. Does anyone know?

              You didn’t need to post a second time with the same question 15 minutes after your first post here.

              Besides, one answer in the post you were replying to – turning off DirectWrite, which is now setting it to GDI (most compatible) as of a few versions ago – would have worked for you if you’d tried it.

              Or, as I explain here, pick a font that doesn’t have the ligature feature.

              Either works.

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