home *** CD-ROM | disk | FTP | other *** search
/ Handbook of Infosec Terms 2.0 / Handbook_of_Infosec_Terms_Version_2.0_ISSO.iso / text / rfcs / rfc1555.txt < prev    next >
Text File  |  1996-05-07  |  10KB  |  153 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7. Network Working Group                                      H. Nussbacher Request for Comments: 1555                      Israeli Inter-University Category: Informational                                  Computer Center                                                              Y. Bourvine                                                        Hebrew University                                                            December 1993 
  8.  
  9.              Hebrew Character Encoding for Internet Messages 
  10.  
  11. Status of this Memo 
  12.  
  13.    This memo provides information for the Internet community.  This memo    does not specify an Internet standard of any kind.  Distribution of    this memo is unlimited. 
  14.  
  15. Abstract 
  16.  
  17.    This document describes the encoding used in electronic mail [RFC822]    for transferring Hebrew.  The standard devised makes use of MIME    [RFC1521] and ISO-8859-8. 
  18.  
  19. Description 
  20.  
  21.    All Hebrew text when transferred via e-mail must first be translated    into ISO-8859-8, and then encoded using either Quoted-Printable    (preferable) or Base64, as defined in MIME. 
  22.  
  23.    The following table provides the four most common Hebrew encodings: 
  24.  
  25.                        PC    IBM     PC     ISO            Hebrew                           8859-8            letter     8-bit         7-bit   8-bit                       Ascii  EBCDIC Ascii   Ascii            ---------- -----  ------ -----   ------            alef        128     41    96     224            bet         129     42    97     225            gimel       130     43    98     226            dalet       131     44    99     227            he          132     45   100     228            vav         133     46   101     229            zayin       134     47   102     230            het         135     48   103     231            tet         136     49   104     232            yod         137     51   105     233            kaf sofit   138     52   106     234            kaf         139     53   107     235            lamed       140     54   108     236 
  26.  
  27.  
  28.  
  29. Nussbacher & Bourvine                                           [Page 1] 
  30.  RFC 1555               Hebrew Character Encoding           December 1993 
  31.  
  32.             mem sofit   141     55   109     237            mem         142     56   110     238            nun sofit   143     57   111     239            nun         144     58   112     240            samekh      145     59   113     241            ayin        146     62   114     242            pe sofit    147     63   115     243            pe          148     64   116     244            tsadi sofit 149     65   117     245            tsadi       150     66   118     246            qof         151     67   119     247            resh        152     68   120     248            shin        153     69   121     249            tav         154     71   122     250 
  33.  
  34.    Note: All values are in decimal ASCII except for the EBCDIC column    which is in hexadecimal. 
  35.  
  36.    ISO 8859-8 8-bit ASCII is also known as IBM Codepage 862. 
  37.  
  38.    The default directionality of the text is visual.  This means that    the Hebrew text is encoded from left to right (even though Hebrew    text is entered right to left) and is transmitted from left to right    via the standard MIME mechanisms.  Other methods to control    directionality are supported and are covered in the complementary RFC    1556, "Handling of Bi-directional Texts in MIME". 
  39.  
  40.    All discussion regarding Hebrew in email, as well as discussions of    Hebrew in other TCP/IP protocols, is discussed in the ilan-    h@vm.tau.ac.il list.  To subscribe send mail to listserv@vm.tau.ac.il    with one line of text as follows: 
  41.  
  42.                     subscribe ilan-h firstname lastname 
  43.  
  44. MIME Considerations 
  45.  
  46.    Mail that is sent that contains Hebrew must contain the following    minimum amount of MIME headers: 
  47.  
  48.          MIME-Version: 1.0          Content-type: text/plain; charset=ISO-8859-8          Content-transfer-encoding: BASE64 | Quoted-Printable 
  49.  
  50.    Users should keep their text to within 72 columns so as to allow    email quoting via the prefixing of each line with a ">".  Users    should also realize that not all MIME implementations handle email    quoting properly, so quoting email that contains Hebrew text may lead    to problems. 
  51.  
  52.  
  53.  
  54. Nussbacher & Bourvine                                           [Page 2] 
  55.  RFC 1555               Hebrew Character Encoding           December 1993 
  56.  
  57.     In the future, when all email systems implement fully transparent 8-    bit email as defined in RFC 1425 and RFC 1426 this standard will    become partially obsolete.  The "Content-type:" field will still be    necessary, as well as directionality (which might be implicit for    8BIT, but is something for future discussion),  but the "Content-    transfer-encoding" will be altered to use 8BIT rather than Base64 or    Quoted-Printable. 
  58.  
  59. Optional 
  60.  
  61.    It is recommended, although not required, to support Hebrew encoding    in mail headers as specified in RFC 1522.  Specifically, the Q-    encoding format is to be the default method used for encoding Hebrew    in Internet mail headers and not the B-encoding method. 
  62.  
  63. Caveats 
  64.  
  65.    Within Israel there are in excess of 40 Listserv lists which will now    start using Hebrew for part of their conversations.  Normally,    Listserv will deliver mail from a distribution list with a    "shortened" header, one that does not include the extra MIME headers.    This will cause the MIME encoding to be left intact and the user    agent decoding software will not be able to interpret the mail.  Each    user is able to customize how Listserv delivers mail.  For lists that    contain Hebrew, users should send mail to Listserv with the following    command: 
  66.  
  67.                              set listname full 
  68.  
  69.    where listname is the name of the list which the user wants full,    unabridged headers to appear.  This will update their private entry    and all subsequent mail from that list will be with full RFC822    headers, including MIME headers. 
  70.  
  71.    In addition, Listserv usually maintains automatic archives of all    postings to a list.  These archives, contained in the file "listname    LOGyymm", do not contain the MIME headers, so all encoding    information will be lost.  This is a limitation of the Listserv    software. 
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  Nussbacher & Bourvine                                           [Page 3] 
  84.  RFC 1555               Hebrew Character Encoding           December 1993 
  85.  
  86.  Example 
  87.  
  88.    Below is a short example of Quoted-Printable encoded Hebrew email: 
  89.  
  90.    Date:         Sun, 06 Jun 93 15:25:35 IDT    From:         Hank Nussbacher <HANK@VM.BIU.AC.IL>    Subject:      Sample Hebrew mail    To:           Hank Nussbacher <Hank@BARILVM>,                  Yehavi Bourvine <yehavi@hujivms>    MIME-Version: 1.0    Content-Type: Text/plain; charset=ISO-8859-8    Content-Transfer-Encoding: QUOTED-PRINTABLE 
  91.  
  92.    The end of this line contains Hebrew            .=EC=E0=F8=F9=E9 =F5=    =F8=E0=EE =ED=E5=EC=F9 
  93.  
  94.     Hank Nussbacher                                  =F8=EB=E1=F1=E5=    =F0 =F7=F0=E4 
  95.  
  96. Acknowledgements 
  97.  
  98.    Many thanks to Rafi Sadowsky and Nathaniel Borenstein for all their    help. 
  99.  
  100. References 
  101.  
  102.    [ISO-8859] Information Processing -- 8-bit Single-Byte Coded               Graphic Character Sets, Part 8: Latin/Hebrew alphabet,               ISO 8859-8, 1988. 
  103.  
  104.    [RFC822]   Crocker, D., "Standard for the Format of ARPA Internet               Text Messages", STD 11, RFC 822, UDEL, August 1982. 
  105.  
  106.    [RFC1425]  Klensin, J., Freed N., Rose M., Stefferud E., and               D. Crocker, "SMTP Service Extensions", RFC 1425,               United Nations University, Innosoft International, Inc.,               Dover Beach Consulting, Inc., Network Management               Associates, Inc., The Branch Office, February 1993. 
  107.  
  108.    [RFC1426]  Klensin, J., Freed N., Rose M., Stefferud E., and               D. Crocker, "SMTP Service Extension for 8bit-MIME               Transport", RFC 1426, United Nations University, Innosoft               International, Inc., Dover Beach Consulting, Inc., Network               Management Associates, Inc., The Branch Office, February               1993. 
  109.  
  110.  
  111.  
  112.  
  113.  
  114. Nussbacher & Bourvine                                           [Page 4] 
  115.  RFC 1555               Hebrew Character Encoding           December 1993 
  116.  
  117.     [RFC1521]  Borenstein N., and N. Freed, "MIME (Multipurpose               Internet Mail Extensions) Part One: Mechanisms for               Specifying and Describing the Format of Internet Message               Bodies", Bellcore, Innosoft, September 1993. 
  118.  
  119.    [RFC1522]  Moore K., "MIME Part Two: Message Header Extensions for               Non-ASCII Text", University of Tennessee, September 1993. 
  120.  
  121. Security Considerations 
  122.  
  123.    Security issues are not discussed in this memo. 
  124.  
  125. Authors' Addresses 
  126.  
  127.    Hank Nussbacher    Computer Center    Tel Aviv University    Ramat Aviv    Israel 
  128.  
  129.    Fax: +972 3 6409118    Phone: +972 3 6408309    EMail: hank@vm.tau.ac.il 
  130.  
  131.     Yehavi Bourvine    Computer Center    Hebrew University    Jerusalem    Israel 
  132.  
  133.    Phone: +972 2 585684    Fax:   +972 2 527349    EMail: yehavi@vms.huji.ac.il 
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151. Nussbacher & Bourvine                                           [Page 5] 
  152.  
  153.