summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/omega/otp/char2uni/incp1250.otp
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/omega/otp/char2uni/incp1250.otp')
-rw-r--r--Master/texmf-dist/omega/otp/char2uni/incp1250.otp39
1 files changed, 39 insertions, 0 deletions
diff --git a/Master/texmf-dist/omega/otp/char2uni/incp1250.otp b/Master/texmf-dist/omega/otp/char2uni/incp1250.otp
new file mode 100644
index 00000000000..bbfc4ffd04d
--- /dev/null
+++ b/Master/texmf-dist/omega/otp/char2uni/incp1250.otp
@@ -0,0 +1,39 @@
+% File incp1250.otp
+% Conversion to Unicode from Windows Central Europe codepage (CP1250)
+% Copyright (c) 2002 Roozbeh Pournader
+% This file is part of the Omega project.
+%
+% This file was derived from information available from
+% Microsoft's website about codepages
+% (http://www.microsoft.com/globaldev/)
+%
+
+input: 1;
+output: 2;
+
+tables:
+
+tabcp1250[@"80] = {
+@"20AC, @"FFFD, @"201A, @"FFFD, @"201E, @"2026, @"2020, @"2021,
+@"FFFD, @"2030, @"0160, @"2039, @"015A, @"0164, @"017D, @"0179,
+@"FFFD, @"2018, @"2019, @"201C, @"201D, @"2022, @"2013, @"2014,
+@"FFFD, @"2122, @"0161, @"203A, @"015B, @"0165, @"017E, @"017A,
+@"00A0, @"02C7, @"02D8, @"0141, @"00A4, @"0104, @"00A6, @"00A7,
+@"00A8, @"00A9, @"015E, @"00AB, @"00AC, @"00AD, @"00AE, @"017B,
+@"00B0, @"00B1, @"02DB, @"0142, @"00B4, @"00B5, @"00B6, @"00B7,
+@"00B8, @"0105, @"015F, @"00BB, @"013D, @"02DD, @"013E, @"017C,
+@"0154, @"00C1, @"00C2, @"0102, @"00C4, @"0139, @"0106, @"00C7,
+@"010C, @"00C9, @"0118, @"00CB, @"011A, @"00CD, @"00CE, @"010E,
+@"0110, @"0143, @"0147, @"00D3, @"00D4, @"0150, @"00D6, @"00D7,
+@"0158, @"016E, @"00DA, @"0170, @"00DC, @"00DD, @"0162, @"00DF,
+@"0155, @"00E1, @"00E2, @"0103, @"00E4, @"013A, @"0107, @"00E7,
+@"010D, @"00E9, @"0119, @"00EB, @"011B, @"00ED, @"00EE, @"010F,
+@"0111, @"0144, @"0148, @"00F3, @"00F4, @"0151, @"00F6, @"00F7,
+@"0159, @"016F, @"00FA, @"0171, @"00FC, @"00FD, @"0163, @"02D9
+};
+
+expressions:
+
+@"00-@"7F => \1;
+@"80-@"FF => #(tabcp1250[\1-@"80]);
+. => @"FFFD;