• Login
Community
  • Login

Character II

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
7 Posts 5 Posters 946 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.
  • A
    Americo Uhima
    last edited by May 2, 2020, 6:54 PM

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

    P 2 Replies Last reply May 3, 2020, 6:24 PM Reply Quote 0
    • E
      Ekopalypse
      last edited by May 3, 2020, 11:51 AM

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

      1 Reply Last reply Reply Quote 4
      • P
        PeterJones @Americo Uhima
        last edited by May 3, 2020, 6:24 PM

        @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
        • P
          PeterJones @Americo Uhima
          last edited by May 3, 2020, 7:59 PM

          @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.

          E 1 Reply Last reply May 3, 2020, 8:01 PM Reply Quote 4
          • E
            Ekopalypse @PeterJones
            last edited by May 3, 2020, 8:01 PM

            @PeterJones said in Character II:

            but the logical or operator ||

            that could be it, yes.

            1 Reply Last reply Reply Quote 0
            • D
              dail
              last edited by May 5, 2020, 12:49 PM

              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. :)

              A 1 Reply Last reply May 5, 2020, 1:00 PM Reply Quote 4
              • A
                Alan Kilborn @dail
                last edited by May 5, 2020, 1:00 PM

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