Unicode support in VBscript messagebox
-
Can any one please tell me how to make a VBscript messagebox support unicode characters. MsgBox("ストケースの部分をテ",vbYesNoCancel + vbQuestion, title) The string in Msgbox is displayed as squares in the messagebox Thanks in advance.
-
Can any one please tell me how to make a VBscript messagebox support unicode characters. MsgBox("ストケースの部分をテ",vbYesNoCancel + vbQuestion, title) The string in Msgbox is displayed as squares in the messagebox Thanks in advance.
Strings are already Unicode in VBScript. The MessageBox is not part of VBScript, but is supplied by the system. There is no way to modify how the MessageBox works. It would appear that the system does not have the appropriate language pack installed to show your text properly.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008 -
Strings are already Unicode in VBScript. The MessageBox is not part of VBScript, but is supplied by the system. There is no way to modify how the MessageBox works. It would appear that the system does not have the appropriate language pack installed to show your text properly.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008Thanks Dave After installing East Asian Languages in my system the unicode text in message box is displayed correctly :)