"Fossies" - the Fresh Open Source Software Archive

Member "dosemu-1.4.0/src/plugin/translate/charsets/iso8859-6.c" (23 Jun 2003, 1368 Bytes) of package /linux/misc/old/dosemu-1.4.0.tgz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "iso8859-6.c" see the Fossies "Dox" file reference documentation.

    1 #include "translate.h"
    2 
    3 static const t_unicode iso8859_6_g1_chars[] = {
    4 0x00A0, 0xfffd, 0xfffd, 0xfffd, 0x00A4, 0xfffd, 0xfffd, 0xfffd, /* 0xA0-0xA7 */
    5 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0x060C, 0x00AD, 0xfffd, 0xfffd, /* 0xA8-0xAF */
    6 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, /* 0xB0-0xB7 */
    7 0xfffd, 0xfffd, 0xfffd, 0x061B, 0xfffd, 0xfffd, 0xfffd, 0x061F, /* 0xB8-0xBF */
    8 0xfffd, 0x0621, 0x0622, 0x0623, 0x0624, 0x0625, 0x0626, 0x0627, /* 0xC0-0xC7 */
    9 0x0628, 0x0629, 0x062A, 0x062B, 0x062C, 0x062D, 0x062E, 0x062F, /* 0xC8-0xCF */
   10 0x0630, 0x0631, 0x0632, 0x0633, 0x0634, 0x0635, 0x0636, 0x0637, /* 0xD0-0xD7 */
   11 0x0638, 0x0639, 0x063A, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, /* 0xD8-0xDF */
   12 0x0640, 0x0641, 0x0642, 0x0643, 0x0644, 0x0645, 0x0646, 0x0647, /* 0xE0-0xE7 */
   13 0x0648, 0x0649, 0x064A, 0x064B, 0x064C, 0x064D, 0x064E, 0x064F, /* 0xE8-0xEF */
   14 0x0650, 0x0651, 0x0652, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, /* 0xF0-0xF7 */
   15 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, /* 0xF8-0xFF */
   16 };
   17 struct char_set iso8859_6_g1 = {
   18     1,
   19     CHARS(iso8859_6_g1_chars),
   20     148, "M", 1, 96, 
   21 };
   22 
   23 struct char_set iso8859_6 = {
   24     .c0 = &ascii_c0,
   25     .g0 = &ascii_g0,
   26     .c1 = &ascii_c1,
   27     .g1 = &iso8859_6_g1,
   28     .names = { "iso8859-6", 0 },
   29 };
   30 
   31 CONSTRUCTOR(static void init(void))
   32 {
   33     register_charset(&iso8859_6_g1);
   34     register_charset(&iso8859_6);
   35 }