Community
    • Login

    Character II

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    7 Posts 5 Posters 939 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.
    • Americo UhimaA
      Americo Uhima
      last edited by

      using PHP it has The character II. how can I found it?

      PeterJonesP 2 Replies Last reply Reply Quote 0
      • EkopalypseE
        Ekopalypse
        last edited by

        In the character map!?
        Seriously how should one answer this question?

        1 Reply Last reply Reply Quote 4
        • PeterJonesP
          PeterJones @Americo Uhima
          last edited by

          @Americo-Uhima said in Character II:

          using PHP it has The character II. how can I found it?

          What does this have to do with Notepad++?

          That said, the best place to look up characters that you don’t know is the official https://unicode.org/ website, or some other Unicode reference site (I personally use the search engine at http://www.fileformat.info/info/unicode/char/search.htm for easily finding Unicode characters). Wikipedia is another good site for information on characters, glyphs, etc.

          My thoughts when looking for a double-character: it could be a digraph or ligature or a roman numeral –

          I originally misread your question – since the font in the forum is rather ambiguous between l (l) and I (I) – as the ll (lowercase of LL), which surprised me that the Unicode ll was named as Welsh but not Spanish, though this shed some light as to why it’s not always considered a separate character. (I’m not a language or character or encoding expert; it just often surprises me when I look into things like this.)

          Anyway, back to your actual II request: since there doesn’t seem to be a double-i in any of those but roman numerals, I am guessing you were looking for U+2161 = Ⅱ = Ⅱ.

          Though I have no idea why Ⅱ , or any II, would show up in PHP, or why you might think it was Notepad++ related. (I only did the research because, like I said, unicode searches often surprise me).

          As to how to enter that roman numeral U+2161 character in Notepad++: the easiest way I know of is either to copy from another page (like http://www.fileformat.info/info/unicode/char/2161/index.htm), or, if you know that the UTF-8 encoding of U+2161 is 0xE2 0x85 0xA1 (e285a1) (again, from that same fileformat.info page), you could type in the hex into Notepad++ : E285A1, then select those 6 characters and Plugins > Converter > Hex -> ASCII will convert it into the unicode character U+2161… though if your chosen font doesn’t have that glyph, it might show up as a box (like it did in mine). Or you can run windows builtin charmap.exe and find it there: I have charmap in my UserDefinedCommands in %AppData%\noteppad++\shortcuts.xml defined as <Command name="charmap" Ctrl="yes" Alt="no" Shift="yes" Key="67">charmap</Command>, so I can easily run the character map from within Notepad++ as Ctrl+Shift+C.

          1 Reply Last reply Reply Quote 4
          • PeterJonesP
            PeterJones @Americo Uhima
            last edited by

            @Americo-Uhima ,

            Thinking about it, I bet what you saw in PHP was not II nor ll nor a Roman numeral, but the logical or operator ||, which is just typing the vertical bar character | twice in succession, no space between. To type that in Notepad++, just use the right key on your keyboard (on mine, it’s shift-\) twice. And it would be in Notepad++'s character panel, as previously suggested.

            EkopalypseE 1 Reply Last reply Reply Quote 4
            • EkopalypseE
              Ekopalypse @PeterJones
              last edited by

              @PeterJones said in Character II:

              but the logical or operator ||

              that could be it, yes.

              1 Reply Last reply Reply Quote 0
              • dailD
                dail
                last edited by

                It never ceases to amaze me how much time and effort people here on the forum will put in…even in the most vague of situations.

                My personal rule any more is I’ll usually put in as much effort as the person I’m replying to. :)

                Alan KilbornA 1 Reply Last reply Reply Quote 4
                • Alan KilbornA
                  Alan Kilborn @dail
                  last edited by

                  @dail said in Character II:

                  My personal rule any more is I’ll usually put in as much effort as the person I’m replying to. :)

                  That’s an extremely reasonable criterion.
                  A lot of postings would go unanswered, though. :-)

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