BUG: JScript Calling Window.prompt Cannot Handle DBCS Correctly
This article was previously published under Q244397 On This PageSYMPTOMS
In some situations, such as the scenario described under "Steps to Reproduce Behavior" in the "More Information" section of this article, strings can be unexpectedly terminated when some part of the string is the result of a prompt() dialog that had double-byte character set (DBCS) characters entered into it. This only applies to the Japanese versions of Windows 95 and Windows 98. RESOLUTIONWorkaround:To work around this problem, create your own prompt dialog, Prompt.htm. (Note that you will have to change the charset based on the language that you are targeting.)
The following is an example of how the preceding page can be used:
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. MORE INFORMATIONSteps to Reproduce Behavior
You get "Mr." + [the name entered]. Notice that the word "Welcome" is missing. REFERENCESFor more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites: http://msdn.microsoft.com/ie/ (http://msdn.microsoft.com/ie/) http://support.microsoft.com/iep (http://support.microsoft.com/iep) APPLIES TO
| Article Translations
|

Back to the top
