What's mean different prefix Xmb, Xwc, Xuft8?

Alan Coopersmith Alan.Coopersmith at Sun.COM
Thu Jan 24 13:26:18 PST 2008


Xue Wei wrote:
> Hi,
> 
> Could anyone know what's different
> XmbTextPropertyToTextList
> XwcTextPropertyToTextList
> Xutf8TextPropertyToTextList
> 
> I had a look man pager, it seems that does not give detail explain about
> different prefix Xmb, Xwc, Xuft8.

They refer to the methods in which the text strings are encoded:

	mb == multibyte
	wc == wide character (wchar_t)
	utf8 == Unicode UTF-8 encoded

mb & wc are the same concepts used in the libc routines like wscmp() &
mbtowc.    More detailed documentation can be found in Chapter 13 of
the Xlib Reference Guide ( doc/xorg-docs/hardcopy/X11/xlib.PS.gz in
the current modular trees).

-- 
	-Alan Coopersmith-           alan.coopersmith at sun.com
	 Sun Microsystems, Inc. - X Window System Engineering




More information about the xorg mailing list