summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-09-18 20:30:34 +0100
committerCarl Hetherington <cth@carlh.net>2017-09-18 20:30:34 +0100
commiteeb0a8a6d9a14876d5d8c14cd75196cb3639b86c (patch)
tree0a29ba4209870b91ed55131edaedb82d66e28c2d /src
parentb24a12e276a4eeb39a45f2b8d63843fc3527a33d (diff)
Fix unicode prime symbol to become a quotation mark.
Diffstat (limited to 'src')
-rw-r--r--src/iso6937.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/iso6937.cc b/src/iso6937.cc
index 21637b3..8409f9b 100644
--- a/src/iso6937.cc
+++ b/src/iso6937.cc
@@ -112,8 +112,10 @@ sub::utf16_to_iso6937 (wstring s)
} else if (s[i] == 0x2010 || s[i] == 0x2011 || s[i] == 0x2012) {
/* Similar story with hyphen, non-breaking hyphen, figure dash */
o += '-';
+ } else if (s[i] == 0x2032) {
+ /* And prime */
+ o += '\'';
}
-
}
return o;