]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
`baltic-default-translation': change default Baltic (CP1257) encoding from
authorJacob Nevins <jacobn@chiark.greenend.org.uk>
Tue, 7 Oct 2003 21:31:21 +0000 (21:31 +0000)
committerJacob Nevins <jacobn@chiark.greenend.org.uk>
Tue, 7 Oct 2003 21:31:21 +0000 (21:31 +0000)
8859-4 to 8859-13 as suggested by Vaidrius Petrauskas, on the grounds that
he has a .lt address and sounds like he knows what he's talking about.

[originally from svn r3485]

unicode.c

index c68017aeea79834da7902f07c9827a4b51313c8c..d46d65766e299e19461a650789835d2b796c55f3 100644 (file)
--- a/unicode.c
+++ b/unicode.c
@@ -1015,7 +1015,7 @@ int decode_codepage(char *cp_name)
         * 1254 -> ISO 8859-9
         * 1255 -> ISO 8859-8
         * 1256 -> ISO 8859-6
-        * 1257 -> ISO 8859-4
+        * 1257 -> ISO 8859-13 (changed from 8859-4 on advice of a Lithuanian)
         * 
         * and for anything else, choose direct-to-font.
         */
@@ -1028,7 +1028,7 @@ int decode_codepage(char *cp_name)
          case 1254: cp_name = "ISO-8859-9"; break;
          case 1255: cp_name = "ISO-8859-8"; break;
          case 1256: cp_name = "ISO-8859-6"; break;
-         case 1257: cp_name = "ISO-8859-4"; break;
+         case 1257: cp_name = "ISO-8859-13"; break;
            /* default: leave it blank, which will select -1, direct->font */
        }
     }