Microsoft KB Archive/232239

= DHTML Editor Does Not Support DBCS Characters in VB6 =

Article ID: 232239

Article Last Modified on 9/4/2007

-

APPLIES TO


 * Microsoft Internet Explorer 5.0

-



This article was previously published under Q232239



SYMPTOMS
When you are using the "DHTML Editor for IE 5.0" control with Microsoft Visual Basic 6.0 or in a Hypertext Markup Language (HTML) script with Internet Explorer 5, you cannot assign a string that contains Double-Byte Character Set (DBCS) characters. For example, the following code is not displayed:

DHTMLEdit1.documentHTML = " Ñ±  "



RESOLUTION
To work around this problem, use "DHTMLEdit1.DOM.body.innerHTML" instead of "DHTMLEdit1.documentHTML" as in the following example:

Replace:

DHTMLEdit1.documentHTML = " Ñ±  "

With:

DHTMLEdit1.DOM.body.innerHTML = " Ñ±  "

DHTML Editing Component 1.0 (the previous version) works correctly. This version can be download from the following Microsoft Web site:

http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/dnaredcom/html/edcomdownload.asp.



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

Keywords: kbprb kbprogramming KB232239

-

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

© Microsoft Corporation. All rights reserved.