diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-09-13 11:39:57 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-09-13 11:39:57 +0100 |
| commit | 73740022051f377e3965ac9f8494ae3fbc65da8b (patch) | |
| tree | 9e53d0305a17fab215641029fea702e612557e4a /src | |
| parent | 63478c444a0ace7417b56dd049a18a43834e9906 (diff) | |
Tweak ISO6937 mapping to put $ sign on 0xa4 (164) (from master).
Diffstat (limited to 'src')
| -rw-r--r-- | src/iso6937.py | 5 | ||||
| -rw-r--r-- | src/iso6937_tables.cc | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/iso6937.py b/src/iso6937.py index ecce4dc..e2f170e 100644 --- a/src/iso6937.py +++ b/src/iso6937.py @@ -24,7 +24,7 @@ def setup(output_diacritical_name): def fill(unicode_diacritical_name, output_diacritical_name, letters): print>>output_h,'extern std::map<char, wchar_t> %s;' % output_diacritical_name - + for letter in letters: if letter.isupper(): case = 'CAPITAL' @@ -140,6 +140,9 @@ for i in range(32, 127): print>>output_c,"\tmain[161] = 0x00A1;" print>>output_c,"\tmain[162] = 0x00A2;" print>>output_c,"\tmain[163] = 0x00A3;" +# Wikipedia says the dollar is 0x24, but Annotation +# Edit (and some other sources) disagree. +print>>output_c,"\tmain[164] = 0x0024;" print>>output_c,"\tmain[165] = 0x00A5;" print>>output_c,"\tmain[167] = 0x00A7;" print>>output_c,"\tmain[168] = 0x00A4;" diff --git a/src/iso6937_tables.cc b/src/iso6937_tables.cc index b534d4c..0ca02ff 100644 --- a/src/iso6937_tables.cc +++ b/src/iso6937_tables.cc @@ -312,6 +312,7 @@ sub::make_iso6937_tables () main[161] = 0x00A1; main[162] = 0x00A2; main[163] = 0x00A3; + main[164] = 0x0024; main[165] = 0x00A5; main[167] = 0x00A7; main[168] = 0x00A4; |
