Microsoft KB Archive/827237

= Surrogate pair characters appear as square boxes in ListView controls in Visio 2007 or in Visio 2003 =

Article ID: 827237

Article Last Modified on 5/21/2007

-

APPLIES TO


 * Microsoft Office Visio Professional 2007
 * Microsoft Office Visio Standard 2007
 * Microsoft Office Visio Professional 2003
 * Microsoft Office Visio Standard 2003

-





SYMPTOMS
When you try to use surrogate pair characters in a ListView control in Microsoft Office Visio 2007 or in Microsoft Office Visio 2003, the characters are not displayed correctly. The characters appear as square rectangles.

For example, when you paste surrogate pair characters in the Label box in the Define Custom Properties dialog box for a shape in your drawing (right-click the shape, click Properties, and then click Define), the surrogate pair characters are displayed as square boxes in the Label column of the Properties box.



CAUSE
This problem occurs because the ListView control in Visio does not currently support surrogate pair characters.



WORKAROUND
To work around this problem, do not use surrogate pair characters in ListView controls in Visio.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.



MORE INFORMATION
A surrogate pair is a pair of 16-bit Unicode code values that represent a single character. The first (high) surrogate is a 16-bit code value in the range U+D800 to U+DBFF. The second (low) surrogate is a 16-bit code value in the range U+DC00 to U+DFFF. Surrogate pairs extend the character set beyond the Unicode character. By using surrogates pairs, Unicode can support over one million characters. For more information about surrogate pairs, visit the following Microsoft Web site:

http://msdn2.microsoft.com/en-us/library/ms776414.aspx

For more information about Visio, visit the following Microsoft Web site:

http://www.microsoft.com/office/visio/

Additional query words: VSO2007 VSO2003 VISIO2003

Keywords: kbpending kbbug KB827237

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.