Please enable JavaScript to view this site.

A-Shell Development History

XTREE enhancement: support for UTF8-encoded characters. You may now display and edit non-Latin1 characters (Cyrillic, Greek, Korean, etc.) in XTREE by specifying the new XTF2_UTF8 (&h00200000) flag and then using the UTF8 encoding for special characters in the data array, file, and/or ansary. If you don't specify the XTF2_UTF8 flag, XTREE will assume that any characters > chr(128) are Latin1-encoded (as it has in the past).

Note: the column widths specified in the COLDEF parameter remain in units of 8-bit bytes, so if you expect a column to contain UTF8-multi-byte-encoded characters, make sure to expand the column width accordingly.

Although this change is not intended (or expected) to have any deleterious effect on existing programs, it did require considerable re-plumbing of the XTREE and other A-Shell internal code and thus all developers are advised to run it in-house for a while before releasing it to end users.

See new EXLIB sample program XUTF8A.BP.