Function Reference


ChrW

Returns a character corresponding to a unicode code.

ChrW ( UNICODEcode )

Parameters

UNICODEcode A unicode code in the range 0-65535 (e.g., 65 returns the capital letter A).

Return Value

Success: a string containing the representation of the given code.
Failure: an empty string and sets the @error flag to non-zero if the UNICODE value is greater than 65535.

Remarks

See the ASCII Character Code table for a complete list of available values.

Related

Asc, AscW, Chr, String

Example

#include <MsgBoxConstants.au3>

Local $sText = ""
For $i = 256 To 512
        $sText = $sText & ChrW($i) ; Or $sText &= ChrW($i) can be used as well.
Next
MsgBox($MB_SYSTEMMODAL, "Unicode chars 256 to 512", $sText) ; Display the unicode characters between 256 to 512.