Release 10.1A: OpenEdge Development:
Internationalizing Applications

> ## 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 Progress allows. The following examples display the multi-byte character consisting of the bytes 0xF4, 0x8E, 0xA3, and 0xA2:

>     DISPLAY CHR( 4102988706)

> Or

> ``

>     CHR( -191978590 )

> ``

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095