Skip navigation
Currently Being Moderated

entering unicode characters

Mar 7, 2013 12:53 AM

Tags: #unicode

I need to enter a checkmark (unicode u2173) in an Illustrator drawing: surely, in 2013, this ought to be easy? but as an occasional Illustrator user I'm not having much success :-{  Illustrator CS5 on Win 7 … hints and tips welcome!

 
Replies
  • Currently Being Moderated
    Mar 7, 2013 10:01 AM   in reply to Niels Grundtvig Nielsen

    Assuming the font you're using contains this character, you can use the Glyphs palette to insert it.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 7, 2013 11:44 PM   in reply to Niels Grundtvig Nielsen

    Niels Grundtvig Nielsen wrote:

     

    checkmark (unicode u2173)

    That is not a check mark; look under U+2713.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 7, 2013 11:59 PM   in reply to Niels Grundtvig Nielsen

    P.S. the only font that I found (on Windows) that contains that symbol is Arial Unicode MS.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 8, 2013 12:39 AM   in reply to Niels Grundtvig Nielsen

    I don't think Unicode MS will show up in AI, which could be the problem... Still, there's plenty of dingbat fonts out there and surely it would be easy enough to find suitable checkmarks...

     

    Mylenium

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 8, 2013 2:06 AM   in reply to Niels Grundtvig Nielsen

    There is a Windows hack involving some registry editing, but it has been noticed this doesn't work with "all" software.

    For InDesign I use a simple, short Javascript -- and I stored it under a hotkey. Unfortunately, that's not an option with Illustrator! This quick adjustment of one of the sample scripts seems to do the job just fine, but its usefulness is reduced by having to call it up through File -> Scripts -> (browse for script) -> Enter ....

     

    // if a document is open
    if(documents.length >0)
    {
       // if textframes exist in the document
       if(activeDocument.textFrames.length > 0)
       {
          // check to make sure something is selected.
          selectedItems = selection;
          if (selectedItems.typename == "TextRange") 
          {
            ucchar = prompt("Unicode character (hex)", "2713");
            if (ucchar)
            {
             // alert ("The following text is selected: >" + selectedItems.contents + "<");
               if (ucchar.match(/^[0-9A-F]+$/i))
               {
                 selectedItems.contents = String.fromCharCode(parseInt(ucchar,16));
               } else
               {
                 alert ('Bad Unicode "'+ucchar+'"');
               }
            }
          }
          else
          {
            alert("No text is selected.");
          }
       }
       else
       {
          alert("Open a document and select 1 or more text items or a text range.");
       }
    }
    else
    {
       alert("Open a document and select 1 or more text items or a text range.");
    }
    
     
    |
    Mark as:
  • Currently Being Moderated
    Mar 10, 2013 1:56 AM   in reply to Niels Grundtvig Nielsen

    Niels Grundtvig Nielsen wrote:

     

    I would prefer to insert a Unicode glyph quickly and efficiently by entering its U+ code

    In Windows you can use keyboard shortcuts to enter characters that are not on the keyboard: hold down the left Alt key, then enter the decimal number of the U+ code, preceded by a zero.  For instance Alt+0165 (U+00A5) would produce the '¥' sign.

     

    Similarly Alt+010003 (U+2713) or Alt+010004 (U+2714) would produce ✓ and ✔.  That works nicely in MS Word, but unfortunately not in Illustrator - I don't know why.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 10, 2013 1:52 AM   in reply to Niels Grundtvig Nielsen

    P.S. forgot to mention that the number must be entered using the numeric keypad.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points