From: imiyazaki Date: Tue, 11 Nov 2003 13:54:27 +0000 (+0000) Subject: remove utf8::decode(). X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49c06a81dbccb5bcd5307393068de30762020635;p=chise%2Fomega.git remove utf8::decode(). add =jis-x0208-1983/1990 in &get_output_char(). --- diff --git a/chise2otf/chise2otf b/chise2otf/chise2otf index bf9418f..65fef19 100755 --- a/chise2otf/chise2otf +++ b/chise2otf/chise2otf @@ -229,7 +229,7 @@ sub de_tex_er{ $value=hex($value); } ($output_char)=&get_chars_matching($er_alias{$atr},$value); - utf8::decode($output_char); +# utf8::decode($output_char); } if($output_char){ return $before_er.$output_char; @@ -338,7 +338,10 @@ sub get_output_char{ $char=pack('U',$char_id); - if($out_char=&get_char_attribute($char,'=jis-x0208')){ + if($out_char=&get_char_attribute($char,'=jis-x0208') + or $out_char=&get_char_attribute($char,'=jis-x0208-1983') + or $out_char=&get_char_attribute($char,'=jis-x0208-1990') + ){ return pack("S",$out_char|0x8080); }else{ foreach $out_cs (@order){