XLC_LOCALE.pre revision b4ee4795
1XCOMM XLocale Database Sample for C. 2XCOMM 3 4XCOMM 5XCOMM XLC_FONTSET category 6XCOMM 7XLC_FONTSET 8XCOMM fs0 class (7 bit ASCII) 9fs0 { 10 charset { 11 name ISO8859-1:GL 12 } 13 font { 14 primary ISO8859-1:GL 15 vertical_rotate all 16 } 17} 18END XLC_FONTSET 19 20XCOMM 21XCOMM XLC_XLOCALE category 22XCOMM 23XLC_XLOCALE 24 25encoding_name STRING 26mb_cur_max 1 27state_depend_encoding False 28#if WCHAR32 29wc_encoding_mask \x30000000 30wc_shift_bits 7 31#else 32wc_encoding_mask \x00008080 33wc_shift_bits 8 34#endif 35 36#ifndef X_LOCALE 37use_stdc_env True 38force_convert_to_mb True 39#endif 40 41XCOMM cs0 class 42cs0 { 43 side GL:Default 44 length 1 45 wc_encoding \x00000000 46 ct_encoding ISO8859-1:GL 47} 48 49XCOMM cs1 class 50cs1 { 51 side GR:Default 52 length 1 53#if WCHAR32 54 wc_encoding \x30000000 55#else 56 wc_encoding \x00008080 57#endif 58 ct_encoding ISO8859-1:GR 59} 60 61END XLC_XLOCALE 62