xorg-libx11/nls/iscii-dev/XLC_LOCALE.pre
Alan Coopersmith 0e45f64766 Drop X_LOCALE fallback for OS'es without setlocale()
C89 or bust!   This was documented as being needed for "only Lynx,
Linux-libc5, OS/2" and has never been enabled in modular builds,
since none of those platforms have had anyone step up to add support
since the X11R7 conversion to autotools.

Mostly performed with unifdef -UX_LOCALE, followed by removal of files
left without any purpose, and manual cleanup of remaining references.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
2013-11-22 22:02:17 -08:00

77 lines
1.1 KiB
Text

XCOMM XLocale Database Sample for mulelao-1.
XCOMM
XCOMM
XCOMM XLC_FONTSET category
XCOMM
XLC_FONTSET
XCOMM fs0 class (7 bit ASCII)
fs0 {
charset {
name ISO8859-1:GL
}
font {
primary ISCII-DEV:GL
substitute ISO8859-1:GL
}
}
XCOMM fs1 class
fs1 {
charset ISCII-DEV:GR
font ISCII-DEV:GR
}
END XLC_FONTSET
XCOMM
XCOMM XLC_CHARSET_DEFINE category
XCOMM
XLC_CHARSET_DEFINE
csd0 {
charset_name ISCII-DEV
side GR
length 1
string_encoding False
sequence \x1b%/1
}
END XLC_CHARSET_DEFINE
XCOMM
XCOMM XLC_XLOCALE category
XCOMM
XLC_XLOCALE
encoding_name ISCII-DEV
mb_cur_max 1
state_depend_encoding False
#if WCHAR32
wc_encoding_mask \x30000000
wc_shift_bits 7
#else
wc_encoding_mask \x00008080
wc_shift_bits 8
#endif
use_stdc_env True
XCOMM cs0 class
cs0 {
side GL:Default
length 1
wc_encoding \x00000000
ct_encoding ISCII-DEV:GL; ISO8859-1:GL
}
XCOMM cs1 class
cs1 {
side GR:Default
length 1
#if WCHAR32
wc_encoding \x30000000
#else
wc_encoding \x00008080
#endif
ct_encoding ISCII-DEV:GR
}
END XLC_XLOCALE