Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

How to: Use Unicode Surrogate Pairs in the Editor

The Unicode standard defines surrogate pairs to support characters that are not among the 65,536 that are defined in 16-bit Unicode. For more information, see "Surrogates" at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/intl/unicode_192r.asp.

Visual Studio supports the use of surrogate characters in the Code Editor.

To use Unicode surrogate pairs in the Visual Studio code editor

  1. Install the latest updates for your operating system from http://windowsupdate.microsoft.com to ensure that the latest Unicode support package for the supplementary character Input Method Editor (IME) and fonts.

  2. On the taskbar, click Start, and then click Control Panel.

  3. Open Regional and Language Options.

  4. Click the Languages tab and then click Details.

    The Text Services and Input Languages dialog box appears.

  5. In Default input language, select your preferred language.

  6. Click Language Bar and then select Show the Language bar on the desktop.

  7. Click OK and then click OK again.

  8. Click OK to close the Regional and Language Options dialog box.

  9. On the Language Bar, click Input Style and then click Properties.

    TipTip:

    The Language Bar can often be found docked on the right of the Windows taskbar.

  10. In the Properties for Microsoft IME Standard dialog box, under Input settings, make sure that the option listed for Input method is compatible with the language you selected in step 5.

  11. Click OK.

    You can now use Unicode surrogate pairs when working with code files in the Visual Studio Code Editor.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft