Common Desktop Environment: Internationalization Programmer's Guide

X Interclient (ICCCM) Conversion Functions

Xlib provides the following functions for doing conversions.

X ICCCM Multibyte Functions 

ICCCM Wide Character Functions 

XmbTextPropertyToTextList() 

XwcTextPropertyToTextList() 

XmbTextListToTextProperty() 

XwcTextListToTextProperty() 


Note -

The libXm() library does provide the XmStringConvertToCT() and XmStringConvertFromCT() functions; however, these are not recommended because there are some hardcoded assumptions about certain XmString tags. For example, if the tag is bold(), XmStringConvertToCT() is implementation-dependent. Across various platforms, the behavior of this function cannot be guaranteed in all international regions.


Refer to "Interclient Communications Conventions for Localized Text" for more information.