Character attributes are often dependent on locale. The AttrObject data type is used to represent one or more attributes in a locale-specific context.
Note: Refer to the section on localization for information on using locales.
An AttrObject is created using the UniCreateAttrObject function. This function requires you to specify a locale using a LocaleObject; you must also specify a UniChar string containing the desired attribute names (separated by spaces).
An AttrObject should be freed using UniFreeAttrObject when it is no longer needed.