Behavior of ASC and CHR functions

In the following example, assume -cpinternal is UTF-8 and the GUI code page is 1252:

ASC( '~U0254AE', "utf-32", "utf-8" )

This displays -191,978,590.

CHR accepts DECIMAL or INTEGER input values, so supplementary characters can be entered as positive values greater than the maximum integer ABL allows. The following examples display the multi-byte character consisting of the bytes 0xF4, 0x8E, 0xA3, and 0xA2:

DISPLAY CHR( 4102988706)

Or

CHR( -191978590 )