Surrogate pair characters can be split by using automation in Visio 2003 (829938)
The information in this article applies to:
- Microsoft Office Visio Professional 2003
- Microsoft Office Visio Standard 2003
SYMPTOMSWhen you write a custom program for use in Microsoft Office
Visio 2003, you may find that the custom code can split a surrogate pair. For
example, you can write automation code to insert text in the middle of a
surrogate pair or to delete one half of a surrogate pair.CAUSEThis problem occurs because the Characters automation object contains a "begin" and an "end" text position.
The "begin" and "end" text positions can be set to use any location in text,
including between each half of a surrogate pair.WORKAROUNDTo work around this problem, write automation code that
treats the surrogate pairs as atomic characters. For example, if you create a
custom program to simulate a text editor, make sure that the pointer cannot be
inserted in the middle of a surrogate pair.STATUSMicrosoft
has confirmed that this is a problem in the Microsoft products that are listed
in the "Applies to" section of this article.
Modification Type: | Minor | Last Reviewed: | 1/11/2006 |
---|
Keywords: | kbpending kbBug KB829938 kbAudDeveloper |
---|
|