|
ExcelApplication Object Reference AnsiToUnicode MethodSyntax:[VBScript] Function AnsiToUnicode(inAnsi As String, CodePage As Long) As String Description:
If a client submits a non-Latin alphabet string to a server
running a language different from the language of the client's HTML page,
to display the string correctly in an Excel
spreadsheet the string must be converted to Unicode.
The For a complete list of charset and code page values see,
Character Set Recognition Example:The following lines get a Hebrew string from an HTML form, convert the string to Unicode, and assign the string to cell E7. The example uses a specific language code page; to correctly display strings in any language, use code page 65001.
Copyright © 2005, SoftArtisans, Inc. |