Results 1 to 2 of 2
  1. #1
    satlow
    Guest

    Inserting Unicode (2000 / SR1)

    How do I insert a high level Unicode character? Anything above the high level ASCII characters?

    For example, Unicode 0x05D0 (Hebrew Aleph)?

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Inserting Unicode (2000 / SR1)

    In Word, you could use Insert Symbol... This assumes that you have an appropriate font.

    If you know the code, maybe it would be faster to use a little macro (which you could assign to a keystroke):

    <pre>Sub InsertUnicode()
    Dim strUCode As String, strPrompt As String
    strPrompt = "Enter 4 character hex code"
    tryAgain:
    strUCode = InputBox(strPrompt, , strUCode)
    If Trim(strUCode) = vbNullString Then Exit Sub
    If Len(Trim(strUCode)) <> 4 Then
    strPrompt = "Enter *exactly* 4 characters!"
    GoTo tryAgain
    End If
    If Selection.Type <> wdSelectionIP Then
    If MsgBox("Replace selection?", vbExclamation + vbYesNo) <> _
    vbYes Then Exit Sub
    End If
    Selection.TypeText ChrW(CLng("&H" & strUCode))
    End Sub</pre>

    There probably is a nicer way to do this, but it's one option.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •