XDefaultString()XDefaultString()NameXDefaultString – return the default string used for text conversion.
Synopsis
char *XDefaultString( )
Returns
The string used for unconvertible characters.
Availability
Release 5 and later.
DescriptionXDefaultString() returns the default string used by Xlib for text con‐
version (for example, in XmbTextListToTextProperty()). The default
string is the string in the current locale which is output when an
unconvertible character is found during text conversion. If the string
returned by XDefaultString() is the empty string (""), no character is
output in the converted text. XDefaultString() does not return NULL.
The string returned by XDefaultString() is independent of the default
string for text drawing; see XCreateFontSet() to obtain the default
string for an XFontSet.
The returned string is NULL-terminated. It is owned by Xlib and should
not be modified or freed by the client. It may be freed after the cur‐
rent locale is changed. Until freed, it will not be modified by Xlib.
See AlsoXmbTextListToTextProperty(), XwcTextListToTextProperty(), XmbTextProp‐
ertyToTextList(), XwcTextPropertyToTextList(), XwcFreeStringList().
Xlib - Text Conversion XDefaultString()