home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 22 gnu / 22-gnu.zip / gnurecod.zip / next.c < prev    next >
C/C++ Source or Header  |  1994-01-07  |  2KB  |  59 lines

  1. /* Conversion of files between different charsets and usages.
  2.    Copyright (C) 1993, 1994 Free Software Foundation, Inc.
  3.    Francois Pinard <pinard@iro.umontreal.ca>, 1993.
  4.  
  5.    This program is free software; you can redistribute it and/or modify
  6.    it under the terms of the GNU General Public License as published by
  7.    the Free Software Foundation; either version 2, or (at your option)
  8.    any later version.
  9.  
  10.    This program is distributed in the hope that it will be useful, but
  11.    WITHOUT ANY WARRANTY; without even the implied warranty of
  12.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  13.    General Public License for more details.
  14.  
  15.    You should have received a copy of the GNU General Public License
  16.    along with this program; if not, write to the Free Software
  17.    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18. */
  19.  
  20. #include "recode.h"
  21.  
  22. /* RFC 1345 style description for NeXTSTEP (non official).  */
  23.  
  24. /* In the following table, these codes are not represented:
  25.  
  26.     Dec Oct     Character
  27.  
  28.     169 251     single quote
  29.     172 254     gouillemot single left
  30.     173 255     gouillemot single right
  31.     184 270     single quote base
  32.     185 271     double qoute base
  33.  
  34.    Keld also write:
  35.    
  36.    * f2 (florin) was introduced after RFC1345, and it was done according
  37.    to an official answer from ISO/IEC JTC1/SC2/WG2 to the Danish ballot
  38.    on DIS.2 10646.
  39.    
  40.    * '" (double acute accent) is the same as hungarian umlaut.  */
  41.  
  42. static DOUBLE_TABLE table =
  43.   {
  44.     "NUSHSXEXETEQAKBLBSHTLFVTFFCRSOSIDLD1D2D3D4NKSYEBCNEMSBECFSGSRSUS",
  45.     "SP! \" NbDO% & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? ",
  46.     "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 <(//)>'>_ ",
  47.     "'!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",
  48.     "NSA!A'A>A?A:AAC,E!E'E>E:I!I'I>I:D-N?O!O'O>O?O:U!U'U>U:Y'THMy*X-:",
  49.     "Co!ICtPd/fYef2SECu  \"6<<    fiflRg-N/-/=.MBBPISb    \"9>>.3%0NO?I",
  50.     "1S'!'''>'?'m'('.':2S'0',3S'\"';'<-M+-141234a!a'a>a?a:aac,e!e'e>e:",
  51.     "i!AEi'-ai>i:d-n?L/O/OE-oo!o'o>o?o:aeu!u'u>i.u:y'l/o/oessthy:    ",
  52.   };
  53.  
  54. void
  55. module_next (void)
  56. {
  57.   declare_double_step (&table, "NeXT", 2);
  58. }
  59.