summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/omega/otp/char2uni/incp1254.otp
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/omega/otp/char2uni/incp1254.otp')
-rw-r--r--Master/texmf-dist/omega/otp/char2uni/incp1254.otp33
1 files changed, 33 insertions, 0 deletions
diff --git a/Master/texmf-dist/omega/otp/char2uni/incp1254.otp b/Master/texmf-dist/omega/otp/char2uni/incp1254.otp
new file mode 100644
index 00000000000..a3cf0169841
--- /dev/null
+++ b/Master/texmf-dist/omega/otp/char2uni/incp1254.otp
@@ -0,0 +1,33 @@
+% File incp1254.otp
+% Conversion to Unicode from Windows Turkish codepage (CP1254)
+% 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:
+
+tabcp1254[@"20] = {
+@"20AC, @"FFFD, @"201A, @"0192, @"201E, @"2026, @"2020, @"2021,
+@"02C6, @"2030, @"0160, @"2039, @"0152, @"FFFD, @"FFFD, @"FFFD,
+@"FFFD, @"2018, @"2019, @"201C, @"201D, @"2022, @"2013, @"2014,
+@"02DC, @"2122, @"0161, @"203A, @"0153, @"FFFD, @"FFFD, @"0178
+};
+
+expressions:
+
+@"80-@"9F => #(tabcp1254[\1-@"80]);
+@"D0 => @"011E;
+@"DD => @"0130;
+@"DE => @"015E;
+@"F0 => @"011F;
+@"FD => @"0131;
+@"FE => @"015F;
+@"00-@"FF => \1;
+. => @"FFFD;