Tweak ISO6937 mapping to put $ sign on 0xa4 (164) (from master).
authorCarl Hetherington <cth@carlh.net>
Tue, 13 Sep 2016 10:39:57 +0000 (11:39 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 13 Sep 2016 10:39:57 +0000 (11:39 +0100)
src/iso6937.py
src/iso6937_tables.cc

index ecce4dc083d52317eb65811e8040c1757a6b69a0..e2f170eff869d25b13df6e7ab536dcc8b42feba5 100644 (file)
@@ -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;"
index b534d4c49d701a654e4bca7e9ffe7b5d6a071703..0ca02ffa5de5155f2eb214d9c5e11a3d66ecadc2 100644 (file)
@@ -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;