home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / charsets / latin2.c < prev    next >
C/C++ Source or Header  |  2020-01-01  |  3KB  |  115 lines

  1. /*
  2.   latin2.c.  Produce a table of ISO Latin Alphabet 1.
  3.   F. da Cruz, Columbia University, 1992.
  4. */
  5. char *name[] = {
  6. /* 10/00 */   "No-break space",
  7. /* 10/01 */   "A ogonek",
  8. /* 10/02 */   "Breve",
  9. /* 10/03 */   "L with stroke",
  10. /* 10/04 */   "Currency sign",
  11. /* 10/05 */   "L caron",
  12. /* 10/06 */   "S acute",
  13. /* 10/07 */   "Paragraph sign",
  14. /* 10/08 */   "Diaeresis",
  15. /* 10/09 */   "S caron",
  16. /* 10/10 */   "S cedilla",
  17. /* 10/11 */   "T caron",
  18. /* 10/12 */   "Z acute",
  19. /* 10/13 */   "Soft hyphen",
  20. /* 10/14 */   "Z caron",
  21. /* 10/15 */   "Z dot above",
  22. /* 11/00 */   "Degree sign, ring above",
  23. /* 11/01 */   "a ogonek",
  24. /* 11/02 */   "ogonek",
  25. /* 11/03 */   "l with stroke",
  26. /* 11/04 */   "Acute accent",
  27. /* 11/05 */   "l caron",
  28. /* 11/06 */   "s acute",
  29. /* 11/07 */   "Caron",
  30. /* 11/08 */   "Cedilla",
  31. /* 11/09 */   "s caron",
  32. /* 11/10 */   "s cedilla",
  33. /* 11/11 */   "t caron",
  34. /* 11/12 */   "z acute",
  35. /* 11/13 */   "Double acute accent",
  36. /* 11/14 */   "z caron",
  37. /* 11/15 */   "z dot above",
  38. /* 12/00 */   "R acute",
  39. /* 12/01 */   "A acute",
  40. /* 12/02 */   "A circumflex",
  41. /* 12/03 */   "A breve",
  42. /* 12/04 */   "A diaeresis",
  43. /* 12/05 */   "L acute",
  44. /* 12/06 */   "C acute",
  45. /* 12/07 */   "C Cedilla",
  46. /* 12/08 */   "C caron",
  47. /* 12/09 */   "E acute",
  48. /* 12/10 */   "E ogonek",
  49. /* 12/11 */   "E diaeresis",
  50. /* 12/12 */   "E caron",
  51. /* 12/13 */   "I acute",
  52. /* 12/14 */   "I circumflex",
  53. /* 12/15 */   "D caron",
  54. /* 13/00 */   "D stroke",
  55. /* 13/01 */   "N acute",
  56. /* 13/02 */   "N caron",
  57. /* 13/03 */   "O acute",
  58. /* 13/04 */   "O circumflex",
  59. /* 13/05 */   "O double acute",
  60. /* 13/06 */   "O diaeresis",
  61. /* 13/07 */   "Multiplication sign",
  62. /* 13/08 */   "R caron",
  63. /* 13/09 */   "U ring",
  64. /* 13/10 */   "U acute",
  65. /* 13/11 */   "U double acute",
  66. /* 13/12 */   "U diaeresis",
  67. /* 13/13 */   "Y acute",
  68. /* 13/14 */   "T cedilla",
  69. /* 13/15 */   "German sharp s",
  70. /* 14/00 */   "r acute",
  71. /* 14/01 */   "a acute",
  72. /* 14/02 */   "a circumflex",
  73. /* 14/03 */   "a breve",
  74. /* 14/04 */   "a diaeresis",
  75. /* 14/05 */   "l acute",
  76. /* 14/06 */   "c acute",
  77. /* 14/07 */   "c cedilla",
  78. /* 14/08 */   "c caron",
  79. /* 14/09 */   "e acute",
  80. /* 14/10 */   "e ogonek",
  81. /* 14/11 */   "e diaeresis",
  82. /* 14/12 */   "e caron",
  83. /* 14/13 */   "i acute",
  84. /* 14/14 */   "i circumflex",
  85. /* 14/15 */   "d caron",
  86. /* 15/00 */   "d stroke",
  87. /* 15/01 */   "n acute",
  88. /* 15/02 */   "n caron",
  89. /* 15/03 */   "o acute",
  90. /* 15/04 */   "o circumflex",
  91. /* 15/05 */   "o double acute",
  92. /* 15/06 */   "o diaeresis",
  93. /* 15/07 */   "Division sign",
  94. /* 15/08 */   "r caron",
  95. /* 15/09 */   "u ring",
  96. /* 15/10 */   "u acute",
  97. /* 15/11 */   "u double acute",
  98. /* 15/12 */   "u diaeresis",
  99. /* 15/13 */   "y acute",
  100. /* 15/14 */   "t cedilla",
  101. /* 15/15 */   "Dot above"
  102. };
  103.  
  104.  
  105. main() {
  106.     int i, j;
  107.     printf("ISO 8859-2 Latin Alphabet 2\n");
  108.     printf("char dec col/row oct hex  description\n");
  109.     for (i = 160; i < 256; i++) {
  110.     j = i - 160;
  111.     printf("[%c]  %3d  %02d/%02d  %3o  %2X  %s\n",
  112.            i, i, i/16, i%16, i, i, name[j]);
  113.     }
  114. }
  115.