Function Reference


AscW

Returns the unicode code of a character.

AscW ( "char" )

Parameters

char The character to get the code for. If a string is used, the code for the first character is given.

Return Value

Returns the unicode code of the specified char.

Remarks

See the ASCII Character Code table for a complete list of available values.
See "Unicode Support" for a detailed description.

Related

Asc, Chr, ChrW

Example

#include <MsgBoxConstants.au3>

Local $iCode = AscW("ß")
MsgBox($MB_SYSTEMMODAL, "", "Unicode code for ß: U+" & Hex($iCode, 6))