Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 03473645169f15807eaac34ea80687828f0175ff
Ticket: 474358ffffffffffffffffffffffffffffffffff
a patch for iso2022-jp probrems
User & Date: yamako on 2002-03-03 19:08:16
Changes

  1. icomment:
    Logged In: YES 
    user_id=475117
    
    Hi, 
    
     I rewrote a new patch of iso2022-jp. This patch fixes the 
    following 
    problems.
    
    1. RFC1468 infraction (fixed by Mr. Taguchi)
     RFC1468 obviously describes that the text starts in ASCII 
    [ASCII], and 
    switches to Japanese characters. It also describes that 
    the text must end 
    in ASCII. For more information, see Description section in 
    RFC1468. I also 
    modified encoding-11.5 and encoding-13.1 in encoding.test 
    because these 
    results are incorrect.
    
    2. Tcl_GetsObj problem with iso2022-jp channel
     This problem seems to be fixed on CVS, but I include this 
    fix in my patch 
    to fix tcl8.3.4 source.
     TCL_ENCODING_START must be turned off when 
    Tcl_ExternalToUtf() is invoked 
    in FilterInputBytes().
    
    3. JISX0208 escape sequence problem
     This problem seems to be fixed on CVS, but I include this 
    fix in my patch 
    to fix tcl8.3.4 source.
     There are two JISX0208 escape sequences, JISX0208-1978 
    and JISX0208-1983. 
    Tcl_UtfToExternal() should encode with JISX0208-1983. 
    Therefore, it should 
    use ESC$B rather than ESC$@.
    
    
    You can download this patch from: 
    http://www3.ocn.ne.jp/~yamako/tcl/iso2022-
    jp.tcl834.2002mar03p1.patch
    
    
  2. login: "yamako"
  3. mimetype: "text/plain"
  4. username: "yamako"