aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/upas
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2008-05-06 14:25:26 -0400
committerRuss Cox <rsc@swtch.com>2008-05-06 14:25:26 -0400
commit865e8b0fb36853a9bb5510735cf5f48472345819 (patch)
treef450e75b12b664892b81fbe2a5a5b397f8c77b7a /src/cmd/upas
parent0215811dc2517e7213a3cd7423f94710b20b57d1 (diff)
downloadplan9port-865e8b0fb36853a9bb5510735cf5f48472345819.tar.gz
plan9port-865e8b0fb36853a9bb5510735cf5f48472345819.tar.bz2
plan9port-865e8b0fb36853a9bb5510735cf5f48472345819.zip
mailfs: handle windows-1251 correctly
now my cyrillic spam displays right!
Diffstat (limited to 'src/cmd/upas')
-rw-r--r--src/cmd/upas/nfs/decode.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/cmd/upas/nfs/decode.c b/src/cmd/upas/nfs/decode.c
index 2d7185b8..e653eeaa 100644
--- a/src/cmd/upas/nfs/decode.c
+++ b/src/cmd/upas/nfs/decode.c
@@ -104,7 +104,15 @@ struct {
"iso-8859-15", "8859-15",
"big5", "big5",
"iso-2022-jp", "jis-kanji",
- "windows-1251", "cp1251",
+ "windows-1250", "windows-1250",
+ "windows-1251", "windows-1251",
+ "windows-1252", "windows-1252",
+ "windows-1253", "windows-1253",
+ "windows-1254", "windows-1254",
+ "windows-1255", "windows-1255",
+ "windows-1256", "windows-1256",
+ "windows-1257", "windows-1257",
+ "windows-1258", "windows-1258",
"koi8-r", "koi8"
};