From eeb0a8a6d9a14876d5d8c14cd75196cb3639b86c Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 18 Sep 2017 20:30:34 +0100 Subject: Fix unicode prime symbol to become a quotation mark. --- src/iso6937.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3