summaryrefslogtreecommitdiff
path: root/imap/src/charset
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2021-02-25 21:35:23 -0700
committerEduardo Chappa <chappa@washington.edu>2021-02-25 21:35:23 -0700
commitaa6f4ec5bfdd58483b92941a8494b8edc6aa0320 (patch)
tree45511bab6e7e640420be5c0519ed4f8302e12c6e /imap/src/charset
parent93fc35afba0a03ff0d25ffbebce670f22d29aa98 (diff)
downloadalpine-aa6f4ec5bfdd58483b92941a8494b8edc6aa0320.tar.xz
* Updates to old port for HP-UX 9.X, after work with Martin Trusler.
Diffstat (limited to 'imap/src/charset')
-rw-r--r--imap/src/charset/ibm.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/imap/src/charset/ibm.c b/imap/src/charset/ibm.c
index 1a717329..060f6d3e 100644
--- a/imap/src/charset/ibm.c
+++ b/imap/src/charset/ibm.c
@@ -345,3 +345,24 @@ static const unsigned short ibm_874tab[128] = {
0x0e50,0x0e51,0x0e52,0x0e53,0x0e54,0x0e55,0x0e56,0x0e57,
0x0e58,0x0e59,0x0e5a,0x0e5b,UBOGON,UBOGON,UBOGON,UBOGON
};
+
+
+ /* HP Roman8 = IBM 1051 */
+static const unsigned short ibm_1051tab[128] = {
+ UBOGON,UBOGON,UBOGON,UBOGON,UBOGON,UBOGON,UBOGON,UBOGON,
+ UBOGON,UBOGON,UBOGON,UBOGON,UBOGON,UBOGON,UBOGON,UBOGON,
+ UBOGON,UBOGON,UBOGON,UBOGON,UBOGON,UBOGON,UBOGON,UBOGON,
+ UBOGON,UBOGON,UBOGON,UBOGON,UBOGON,UBOGON,UBOGON,UBOGON,
+ 0x00a0,0x00c0,0x00c2,0x00c8,0x00ca,0x00cb,0x00ce,0x00cf,
+ 0x00b4,0x0060,0x02c6,0x00a8,0x02dc,0x00d9,0x00db,0x20a4,
+ 0x00af,0x00dd,0x00fd,0x00b0,0x00c7,0x00e7,0x00d1,0x00f1,
+ 0x00a1,0x00bf,0x00a4,0x00a3,0x00a5,0x00a7,0x0192,0x00a2,
+ 0x00e2,0x00ea,0x00f4,0x00fb,0x00e1,0x00e9,0x00f3,0x00fa,
+ 0x00e0,0x00e8,0x00f2,0x00f9,0x00e4,0x00eb,0x00f6,0x00fc,
+ 0x00c5,0x00ee,0x00d8,0x00c6,0x00e5,0x00ed,0x00f8,0x00e6,
+ 0x00c4,0x00ec,0x00d6,0x00dc,0x00c9,0x00ef,0x00df,0x00d4,
+ 0x00c1,0x00c3,0x00e3,0x00d0,0x00f0,0x00cd,0x00cc,0x00d3,
+ 0x00d2,0x00d5,0x00f5,0x0160,0x0161,0x00da,0x0178,0x00ff,
+ 0x00de,0x00fe,0x00b7,0x00b5,0x00b6,0x00be,0x002d,0x00bc,
+ 0x00bd,0x00aa,0x00ba,0x00ab,0x25a0,0x00bb,0x00b1,UBOGON
+};