| 1 |
% File incp1254.otp |
| 2 |
% Conversion to Unicode from Windows Turkish codepage (CP1254) |
| 3 |
% Copyright (c) 2002 Roozbeh Pournader |
| 4 |
% This file is part of the Omega project. |
| 5 |
% |
| 6 |
% This file was derived from information available from |
| 7 |
% Microsoft's website about codepages |
| 8 |
% (http://www.microsoft.com/globaldev/) |
| 9 |
% |
| 10 |
|
| 11 |
input: 1; |
| 12 |
output: 2; |
| 13 |
|
| 14 |
tables: |
| 15 |
|
| 16 |
tabcp1254[@"20] = { |
| 17 |
@"20AC, @"FFFD, @"201A, @"0192, @"201E, @"2026, @"2020, @"2021, |
| 18 |
@"02C6, @"2030, @"0160, @"2039, @"0152, @"FFFD, @"FFFD, @"FFFD, |
| 19 |
@"FFFD, @"2018, @"2019, @"201C, @"201D, @"2022, @"2013, @"2014, |
| 20 |
@"02DC, @"2122, @"0161, @"203A, @"0153, @"FFFD, @"FFFD, @"0178 |
| 21 |
}; |
| 22 |
|
| 23 |
expressions: |
| 24 |
|
| 25 |
@"80-@"9F => #(tabcp1254[\1-@"80]); |
| 26 |
@"D0 => @"011E; |
| 27 |
@"DD => @"0130; |
| 28 |
@"DE => @"015E; |
| 29 |
@"F0 => @"011F; |
| 30 |
@"FD => @"0131; |
| 31 |
@"FE => @"015F; |
| 32 |
@"00-@"FF => \1; |
| 33 |
. => @"FFFD; |