]> gitweb.factorcode.org Git - factor.git/commitdiff
io.encodings.korean iso2022kr ...
authorYun, Jonghyouk <ageldama@gmail.com>
Sun, 1 Mar 2009 08:23:41 +0000 (17:23 +0900)
committerYun, Jonghyouk <ageldama@gmail.com>
Sun, 1 Mar 2009 08:23:41 +0000 (17:23 +0900)
basis/io/encodings/korean/korean.factor

index a0ac420348e90e0bcfe00abc9a8384e1880a799a..01319019fd4d280fe2fcfa3ad686c44d84b21fbf 100644 (file)
@@ -197,8 +197,9 @@ M: iso2022kr decode-char ( stream encoding -- char/f )
                 stream iso2022kr-stream-get-status shift-out =
                 [
                     stream stream-read1 c2!
-                    c1 c2 2byte-array be> cp949>unicode
-                    GL>GR at
+                    c1 c2 2byte-array
+                    [ GL>GR at ] map
+                    be> cp949>unicode                    
                 ]
                 [ c1 ] if
             ]