DHTML Editor Does Not Support DBCS Characters in VB6 (232239)
The information in this article applies to:
- Microsoft Internet Explorer 5.0 for Windows NT 4.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 = "<html><body>ѱ</body></html>"
RESOLUTION
To work around this problem, use "DHTMLEdit1.DOM.body.innerHTML" instead of
"DHTMLEdit1.documentHTML" as in the following example:
Replace:
DHTMLEdit1.documentHTML = "<html><body>ѱ</body></html>"
With:
DHTMLEdit1.DOM.body.innerHTML = "<html><body>ѱ</body></html>"
DHTML Editing Component 1.0 (the previous version) works correctly. This version can be download from the following Microsoft Web site:
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 11/25/2002 |
---|
Keywords: | kbprb kbProgramming KB232239 |
---|
|