All pastes #442070 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-04-16 00:28 UTC
rendered paste body
    CHOICE_SETTING(0, default_codepage, LANG_DEFAULT_CODEPAGE, 0,
        "default codepage",
#ifdef HAVE_LCD_BITMAP
        /* The order must match with that in unicode.c */
        "iso8859-1,iso8859-7,iso8859-8,cp1251,iso8859-11,cp1256,"
        "iso8859-9,iso8859-2,sjis,gb2312,ksx1001,big5,utf-8",
        set_codepage, 13,
        ID2P(LANG_CODEPAGE_LATIN1), ID2P(LANG_CODEPAGE_GREEK),
        ID2P(LANG_CODEPAGE_HEBREW), ID2P(LANG_CODEPAGE_CYRILLIC),
        ID2P(LANG_CODEPAGE_THAI), ID2P(LANG_CODEPAGE_ARABIC),
        ID2P(LANG_CODEPAGE_TURKISH), ID2P(LANG_CODEPAGE_LATIN_EXTENDED),
        ID2P(LANG_CODEPAGE_JAPANESE), ID2P(LANG_CODEPAGE_SIMPLIFIED),
        ID2P(LANG_CODEPAGE_KOREAN), ID2P(LANG_CODEPAGE_TRADITIONAL),
        ID2P(LANG_CODEPAGE_UTF8)),
#else /* !HAVE_LCD_BITMAP */
        /* The order must match with that in unicode.c */
        "iso8859-1,iso8859-7,cp1251,iso8859-9,iso8859-2,utf-8",
        set_codepage, 6,
        ID2P(LANG_CODEPAGE_LATIN1), ID2P(LANG_CODEPAGE_GREEK),
        ID2P(LANG_CODEPAGE_CYRILLIC), ID2P(LANG_CODEPAGE_TURKISH),
        ID2P(LANG_CODEPAGE_LATIN_EXTENDED), ID2P(LANG_CODEPAGE_UTF8)),
#endif