## File: atarist.c

package info (click to toggle)
recode 3.4.1-11
 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171 /* Conversion of files between different charsets and usages. Copyright (C) 1993, 1994 Free Software Foundation, Inc. Francois Pinard , 1993. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Define for using new double step code. */ #define USE_DOUBLE_STEP 1 #include "recode.h" #if USE_DOUBLE_STEP /* RFC 1345 style description for AtariST (non official). */ /* Andreas Schwab writes: There are some characters which i'm not sure about. When compared with IBM865 (which i think is the original source for the atari charset) the characters "bullet operator" and "middle dot" (dec 249/250) are swapped. This may be intentional or a bug in the table for IBM865. Also character dec 238 looks more like "element of" than "greek small letter epsilon", actually it is a bit too large for both interpretations. I suppose that the other changes were made for copyright reasons. */ static DOUBLE_TABLE table = { "NUSHSXEXETEQAKBLBSHTLFVTFFCRSOSIDLD1D2D3D4NKSYEBCNEMSBECFSGSRSUS", "SP! \" NbDO% & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? ", "AtA B C D E F G H I J K L M N O P Q R S T U V W X Y Z <(//)>'>_ ", "'!a b c d e f g h i j k l m n o p q r s t u v w x y z (!!!!)'?DT", "C,u:e'a>a:a!aac,e>e:e!i:i>i!A:AAE'aeAEo>o:o!u>u!y:O:U:CtPdYessFl", "a'i'o'u'n?N?-a-o?ININO1214!I<<>>a?o?O/o/oeOEA!A?O?':''/-PICoRgTM", "ijIJA+B+G+D+H+W+Z+X+TjJ+K%K+L+M%M+N%N+S+E+P%P+ZjZJQ+R+ShT+SEAN00", "a*b*G*p*S*s*m*t*F*H*W*d*Io/0(-(U=3+->==