>>-WCHARVAL--(--n--)-------------------------------------------><
If n is in bigendian format, WCHARVAL(n) has the same bit value as n (that is, UNSPEC(WCHARVAL(n)) is equal to UNSPEC(n)), but it has the attributes WIDECHAR(1).
WCHARVAL is the inverse of RANK (when applied to widechar).