diff options
author | André Nusser <andre.nusser@googlemail.com> | 2017-04-21 15:17:17 +0200 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2017-04-21 15:17:17 +0200 |
commit | 8590e27c3cefde9519fad59b14ef71cdd033e56f (patch) | |
tree | 672151207134a12b47179ecf3298e626efbdf969 | |
parent | f75c9d28e2768d6006485dd1d628378816b0a2e1 (diff) |
Fix clang compile error properly.
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | plugingui/utf8.cc | 514 |
2 files changed, 258 insertions, 258 deletions
diff --git a/configure.ac b/configure.ac index 722f0b1..d437b0f 100644 --- a/configure.ac +++ b/configure.ac @@ -122,7 +122,7 @@ dnl Set up debug compile args if the user requested it dnl =========================== AS_IF([test "x$with_debug" == "xyes"], [AC_MSG_WARN([*** Building with debug support!]) - CXXFLAGS="$CXXFLAGS -Wall -Werror -Wno-invalid-source-encoding -g $NO_UNDEFINED_PARAM" + CXXFLAGS="$CXXFLAGS -Wall -Werror -g $NO_UNDEFINED_PARAM" HUGIN_PARM=""] ) diff --git a/plugingui/utf8.cc b/plugingui/utf8.cc index a14fd43..b11addf 100644 --- a/plugingui/utf8.cc +++ b/plugingui/utf8.cc @@ -29,266 +29,266 @@ UTF8::UTF8() { // Encode Map - map_encode["\x80"] = "�\x80"; - map_encode["\x81"] = "�\x81"; - map_encode["\x82"] = "�\x82"; - map_encode["\x83"] = "�\x83"; - map_encode["\x84"] = "�\x84"; - map_encode["\x85"] = "�\x85"; - map_encode["\x86"] = "�\x86"; - map_encode["\x87"] = "�\x87"; - map_encode["\x88"] = "�\x88"; - map_encode["\x89"] = "�\x89"; - map_encode["\x8a"] = "�\x8a"; - map_encode["\x8b"] = "�\x8b"; - map_encode["\x8c"] = "�\x8c"; - map_encode["\x8d"] = "�\x8d"; - map_encode["\x8e"] = "�\x8e"; - map_encode["\x8f"] = "�\x8f"; - map_encode["\x90"] = "�\x90"; - map_encode["\x91"] = "�\x91"; - map_encode["\x92"] = "�\x92"; - map_encode["\x93"] = "�\x93"; - map_encode["\x94"] = "�\x94"; - map_encode["\x95"] = "�\x95"; - map_encode["\x96"] = "�\x96"; - map_encode["\x97"] = "�\x97"; - map_encode["\x98"] = "�\x98"; - map_encode["\x99"] = "�\x99"; - map_encode["\x9a"] = "�\x9a"; - map_encode["\x9b"] = "�\x9b"; - map_encode["\x9c"] = "�\x9c"; - map_encode["\x9d"] = "�\x9d"; - map_encode["\x9e"] = "�\x9e"; - map_encode["\x9f"] = "�\x9f"; - map_encode["�"] = " "; - map_encode["�"] = "¡"; - map_encode["�"] = "¢"; - map_encode["�"] = "£"; - map_encode["�"] = "¤"; - map_encode["�"] = "¥"; - map_encode["�"] = "¦"; - map_encode["�"] = "§"; - map_encode["�"] = "¨"; - map_encode["�"] = "©"; - map_encode["�"] = "ª"; - map_encode["�"] = "«"; - map_encode["�"] = "¬"; - map_encode["�"] = ""; - map_encode["�"] = "®"; - map_encode["�"] = "¯"; - map_encode["�"] = "°"; - map_encode["�"] = "±"; - map_encode["�"] = "²"; - map_encode["�"] = "³"; - map_encode["�"] = "´"; - map_encode["�"] = "µ"; - map_encode["�"] = "¶"; - map_encode["�"] = "·"; - map_encode["�"] = "¸"; - map_encode["�"] = "¹"; - map_encode["�"] = "º"; - map_encode["�"] = "»"; - map_encode["�"] = "¼"; - map_encode["�"] = "½"; - map_encode["�"] = "¾"; - map_encode["�"] = "¿"; - map_encode["�"] = "�\x80"; - map_encode["�"] = "�\x81"; - map_encode["�"] = "�\x82"; - map_encode["�"] = "�\x83"; - map_encode["�"] = "�\x84"; - map_encode["�"] = "�\x85"; - map_encode["�"] = "�\x86"; - map_encode["�"] = "�\x87"; - map_encode["�"] = "�\x88"; - map_encode["�"] = "�\x89"; - map_encode["�"] = "�\x8a"; - map_encode["�"] = "�\x8b"; - map_encode["�"] = "�\x8c"; - map_encode["�"] = "�\x8d"; - map_encode["�"] = "�\x8e"; - map_encode["�"] = "�\x8f"; - map_encode["�"] = "�\x90"; - map_encode["�"] = "�\x91"; - map_encode["�"] = "�\x92"; - map_encode["�"] = "�\x93"; - map_encode["�"] = "�\x94"; - map_encode["�"] = "�\x95"; - map_encode["�"] = "�\x96"; - map_encode["�"] = "�\x97"; - map_encode["�"] = "�\x98"; - map_encode["�"] = "�\x99"; - map_encode["�"] = "�\x9a"; - map_encode["�"] = "�\x9b"; - map_encode["�"] = "�\x9c"; - map_encode["�"] = "�\x9d"; - map_encode["�"] = "�\x9e"; - map_encode["�"] = "�\x9f"; - map_encode["�"] = "à"; - map_encode["�"] = "á"; - map_encode["�"] = "â"; - map_encode["�"] = "ã"; - map_encode["�"] = "ä"; - map_encode["�"] = "å"; - map_encode["�"] = "æ"; - map_encode["�"] = "ç"; - map_encode["�"] = "è"; - map_encode["�"] = "é"; - map_encode["�"] = "ê"; - map_encode["�"] = "ë"; - map_encode["�"] = "ì"; - map_encode["�"] = "í"; - map_encode["�"] = "î"; - map_encode["�"] = "ï"; - map_encode["�"] = "ð"; - map_encode["�"] = "ñ"; - map_encode["�"] = "ò"; - map_encode["�"] = "ó"; - map_encode["�"] = "ô"; - map_encode["�"] = "õ"; - map_encode["�"] = "ö"; - map_encode["�"] = "÷"; - map_encode["�"] = "ø"; - map_encode["�"] = "ù"; - map_encode["�"] = "ú"; - map_encode["�"] = "û"; - map_encode["�"] = "ü"; - map_encode["�"] = "ý"; - map_encode["�"] = "þ"; - map_encode["�"] = "ÿ"; + map_encode["\x80"] = "\xc2\x80"; + map_encode["\x81"] = "\xc2\x81"; + map_encode["\x82"] = "\xc2\x82"; + map_encode["\x83"] = "\xc2\x83"; + map_encode["\x84"] = "\xc2\x84"; + map_encode["\x85"] = "\xc2\x85"; + map_encode["\x86"] = "\xc2\x86"; + map_encode["\x87"] = "\xc2\x87"; + map_encode["\x88"] = "\xc2\x88"; + map_encode["\x89"] = "\xc2\x89"; + map_encode["\x8a"] = "\xc2\x8a"; + map_encode["\x8b"] = "\xc2\x8b"; + map_encode["\x8c"] = "\xc2\x8c"; + map_encode["\x8d"] = "\xc2\x8d"; + map_encode["\x8e"] = "\xc2\x8e"; + map_encode["\x8f"] = "\xc2\x8f"; + map_encode["\x90"] = "\xc2\x90"; + map_encode["\x91"] = "\xc2\x91"; + map_encode["\x92"] = "\xc2\x92"; + map_encode["\x93"] = "\xc2\x93"; + map_encode["\x94"] = "\xc2\x94"; + map_encode["\x95"] = "\xc2\x95"; + map_encode["\x96"] = "\xc2\x96"; + map_encode["\x97"] = "\xc2\x97"; + map_encode["\x98"] = "\xc2\x98"; + map_encode["\x99"] = "\xc2\x99"; + map_encode["\x9a"] = "\xc2\x9a"; + map_encode["\x9b"] = "\xc2\x9b"; + map_encode["\x9c"] = "\xc2\x9c"; + map_encode["\x9d"] = "\xc2\x9d"; + map_encode["\x9e"] = "\xc2\x9e"; + map_encode["\x9f"] = "\xc2\x9f"; + map_encode["\xa0"] = "\xc2\xa0"; + map_encode["\xa1"] = "\xc2\xa1"; + map_encode["\xa2"] = "\xc2\xa2"; + map_encode["\xa3"] = "\xc2\xa3"; + map_encode["\xa4"] = "\xc2\xa4"; + map_encode["\xa5"] = "\xc2\xa5"; + map_encode["\xa6"] = "\xc2\xa6"; + map_encode["\xa7"] = "\xc2\xa7"; + map_encode["\xa8"] = "\xc2\xa8"; + map_encode["\xa9"] = "\xc2\xa9"; + map_encode["\xaa"] = "\xc2\xaa"; + map_encode["\xab"] = "\xc2\xab"; + map_encode["\xac"] = "\xc2\xac"; + map_encode["\xad"] = "\xc2\xad"; + map_encode["\xae"] = "\xc2\xae"; + map_encode["\xaf"] = "\xc2\xaf"; + map_encode["\xb0"] = "\xc2\xb0"; + map_encode["\xb1"] = "\xc2\xb1"; + map_encode["\xb2"] = "\xc2\xb2"; + map_encode["\xb3"] = "\xc2\xb3"; + map_encode["\xb4"] = "\xc2\xb4"; + map_encode["\xb5"] = "\xc2\xb5"; + map_encode["\xb6"] = "\xc2\xb6"; + map_encode["\xb7"] = "\xc2\xb7"; + map_encode["\xb8"] = "\xc2\xb8"; + map_encode["\xb9"] = "\xc2\xb9"; + map_encode["\xba"] = "\xc2\xba"; + map_encode["\xbb"] = "\xc2\xbb"; + map_encode["\xbc"] = "\xc2\xbc"; + map_encode["\xbd"] = "\xc2\xbd"; + map_encode["\xbe"] = "\xc2\xbe"; + map_encode["\xbf"] = "\xc2\xbf"; + map_encode["\xc0"] = "\xc3\x80"; + map_encode["\xc1"] = "\xc3\x81"; + map_encode["\xc2"] = "\xc3\x82"; + map_encode["\xc3"] = "\xc3\x83"; + map_encode["\xc4"] = "\xc3\x84"; + map_encode["\xc5"] = "\xc3\x85"; + map_encode["\xc6"] = "\xc3\x86"; + map_encode["\xc7"] = "\xc3\x87"; + map_encode["\xc8"] = "\xc3\x88"; + map_encode["\xc9"] = "\xc3\x89"; + map_encode["\xca"] = "\xc3\x8a"; + map_encode["\xcb"] = "\xc3\x8b"; + map_encode["\xcc"] = "\xc3\x8c"; + map_encode["\xcd"] = "\xc3\x8d"; + map_encode["\xce"] = "\xc3\x8e"; + map_encode["\xcf"] = "\xc3\x8f"; + map_encode["\xd0"] = "\xc3\x90"; + map_encode["\xd1"] = "\xc3\x91"; + map_encode["\xd2"] = "\xc3\x92"; + map_encode["\xd3"] = "\xc3\x93"; + map_encode["\xd4"] = "\xc3\x94"; + map_encode["\xd5"] = "\xc3\x95"; + map_encode["\xd6"] = "\xc3\x96"; + map_encode["\xd7"] = "\xc3\x97"; + map_encode["\xd8"] = "\xc3\x98"; + map_encode["\xd9"] = "\xc3\x99"; + map_encode["\xda"] = "\xc3\x9a"; + map_encode["\xdb"] = "\xc3\x9b"; + map_encode["\xdc"] = "\xc3\x9c"; + map_encode["\xdd"] = "\xc3\x9d"; + map_encode["\xde"] = "\xc3\x9e"; + map_encode["\xdf"] = "\xc3\x9f"; + map_encode["\xe0"] = "\xc3\xa0"; + map_encode["\xe1"] = "\xc3\xa1"; + map_encode["\xe2"] = "\xc3\xa2"; + map_encode["\xe3"] = "\xc3\xa3"; + map_encode["\xe4"] = "\xc3\xa4"; + map_encode["\xe5"] = "\xc3\xa5"; + map_encode["\xe6"] = "\xc3\xa6"; + map_encode["\xe7"] = "\xc3\xa7"; + map_encode["\xe8"] = "\xc3\xa8"; + map_encode["\xe9"] = "\xc3\xa9"; + map_encode["\xea"] = "\xc3\xaa"; + map_encode["\xeb"] = "\xc3\xab"; + map_encode["\xec"] = "\xc3\xac"; + map_encode["\xed"] = "\xc3\xad"; + map_encode["\xee"] = "\xc3\xae"; + map_encode["\xef"] = "\xc3\xaf"; + map_encode["\xf0"] = "\xc3\xb0"; + map_encode["\xf1"] = "\xc3\xb1"; + map_encode["\xf2"] = "\xc3\xb2"; + map_encode["\xf3"] = "\xc3\xb3"; + map_encode["\xf4"] = "\xc3\xb4"; + map_encode["\xf5"] = "\xc3\xb5"; + map_encode["\xf6"] = "\xc3\xb6"; + map_encode["\xf7"] = "\xc3\xb7"; + map_encode["\xf8"] = "\xc3\xb8"; + map_encode["\xf9"] = "\xc3\xb9"; + map_encode["\xfa"] = "\xc3\xba"; + map_encode["\xfb"] = "\xc3\xbb"; + map_encode["\xfc"] = "\xc3\xbc"; + map_encode["\xfd"] = "\xc3\xbd"; + map_encode["\xfe"] = "\xc3\xbe"; + map_encode["\xff"] = "\xc3\xbf"; // Decode Map - map_decode["�\x80"] = "\x80"; - map_decode["�\x81"] = "\x81"; - map_decode["�\x82"] = "\x82"; - map_decode["�\x83"] = "\x83"; - map_decode["�\x84"] = "\x84"; - map_decode["�\x85"] = "\x85"; - map_decode["�\x86"] = "\x86"; - map_decode["�\x87"] = "\x87"; - map_decode["�\x88"] = "\x88"; - map_decode["�\x89"] = "\x89"; - map_decode["�\x8a"] = "\x8a"; - map_decode["�\x8b"] = "\x8b"; - map_decode["�\x8c"] = "\x8c"; - map_decode["�\x8d"] = "\x8d"; - map_decode["�\x8e"] = "\x8e"; - map_decode["�\x8f"] = "\x8f"; - map_decode["�\x90"] = "\x90"; - map_decode["�\x91"] = "\x91"; - map_decode["�\x92"] = "\x92"; - map_decode["�\x93"] = "\x93"; - map_decode["�\x94"] = "\x94"; - map_decode["�\x95"] = "\x95"; - map_decode["�\x96"] = "\x96"; - map_decode["�\x97"] = "\x97"; - map_decode["�\x98"] = "\x98"; - map_decode["�\x99"] = "\x99"; - map_decode["�\x9a"] = "\x9a"; - map_decode["�\x9b"] = "\x9b"; - map_decode["�\x9c"] = "\x9c"; - map_decode["�\x9d"] = "\x9d"; - map_decode["�\x9e"] = "\x9e"; - map_decode["�\x9f"] = "\x9f"; - map_decode[" "] = "�"; - map_decode["¡"] = "�"; - map_decode["¢"] = "�"; - map_decode["£"] = "�"; - map_decode["¤"] = "�"; - map_decode["¥"] = "�"; - map_decode["¦"] = "�"; - map_decode["§"] = "�"; - map_decode["¨"] = "�"; - map_decode["©"] = "�"; - map_decode["ª"] = "�"; - map_decode["«"] = "�"; - map_decode["¬"] = "�"; - map_decode[""] = "�"; - map_decode["®"] = "�"; - map_decode["¯"] = "�"; - map_decode["°"] = "�"; - map_decode["±"] = "�"; - map_decode["²"] = "�"; - map_decode["³"] = "�"; - map_decode["´"] = "�"; - map_decode["µ"] = "�"; - map_decode["¶"] = "�"; - map_decode["·"] = "�"; - map_decode["¸"] = "�"; - map_decode["¹"] = "�"; - map_decode["º"] = "�"; - map_decode["»"] = "�"; - map_decode["¼"] = "�"; - map_decode["½"] = "�"; - map_decode["¾"] = "�"; - map_decode["¿"] = "�"; - map_decode["�\x80"] = "�"; - map_decode["�\x81"] = "�"; - map_decode["�\x82"] = "�"; - map_decode["�\x83"] = "�"; - map_decode["�\x84"] = "�"; - map_decode["�\x85"] = "�"; - map_decode["�\x86"] = "�"; - map_decode["�\x87"] = "�"; - map_decode["�\x88"] = "�"; - map_decode["�\x89"] = "�"; - map_decode["�\x8a"] = "�"; - map_decode["�\x8b"] = "�"; - map_decode["�\x8c"] = "�"; - map_decode["�\x8d"] = "�"; - map_decode["�\x8e"] = "�"; - map_decode["�\x8f"] = "�"; - map_decode["�\x90"] = "�"; - map_decode["�\x91"] = "�"; - map_decode["�\x92"] = "�"; - map_decode["�\x93"] = "�"; - map_decode["�\x94"] = "�"; - map_decode["�\x95"] = "�"; - map_decode["�\x96"] = "�"; - map_decode["�\x97"] = "�"; - map_decode["�\x98"] = "�"; - map_decode["�\x99"] = "�"; - map_decode["�\x9a"] = "�"; - map_decode["�\x9b"] = "�"; - map_decode["�\x9c"] = "�"; - map_decode["�\x9d"] = "�"; - map_decode["�\x9e"] = "�"; - map_decode["�\x9f"] = "�"; - map_decode["à"] = "�"; - map_decode["á"] = "�"; - map_decode["â"] = "�"; - map_decode["ã"] = "�"; - map_decode["ä"] = "�"; - map_decode["å"] = "�"; - map_decode["æ"] = "�"; - map_decode["ç"] = "�"; - map_decode["è"] = "�"; - map_decode["é"] = "�"; - map_decode["ê"] = "�"; - map_decode["ë"] = "�"; - map_decode["ì"] = "�"; - map_decode["í"] = "�"; - map_decode["î"] = "�"; - map_decode["ï"] = "�"; - map_decode["ð"] = "�"; - map_decode["ñ"] = "�"; - map_decode["ò"] = "�"; - map_decode["ó"] = "�"; - map_decode["ô"] = "�"; - map_decode["õ"] = "�"; - map_decode["ö"] = "�"; - map_decode["÷"] = "�"; - map_decode["ø"] = "�"; - map_decode["ù"] = "�"; - map_decode["ú"] = "�"; - map_decode["û"] = "�"; - map_decode["ü"] = "�"; - map_decode["ý"] = "�"; - map_decode["þ"] = "�"; - map_decode["ÿ"] = "�"; + map_decode["\xc2\x80"] = "\x80"; + map_decode["\xc2\x81"] = "\x81"; + map_decode["\xc2\x82"] = "\x82"; + map_decode["\xc2\x83"] = "\x83"; + map_decode["\xc2\x84"] = "\x84"; + map_decode["\xc2\x85"] = "\x85"; + map_decode["\xc2\x86"] = "\x86"; + map_decode["\xc2\x87"] = "\x87"; + map_decode["\xc2\x88"] = "\x88"; + map_decode["\xc2\x89"] = "\x89"; + map_decode["\xc2\x8a"] = "\x8a"; + map_decode["\xc2\x8b"] = "\x8b"; + map_decode["\xc2\x8c"] = "\x8c"; + map_decode["\xc2\x8d"] = "\x8d"; + map_decode["\xc2\x8e"] = "\x8e"; + map_decode["\xc2\x8f"] = "\x8f"; + map_decode["\xc2\x90"] = "\x90"; + map_decode["\xc2\x91"] = "\x91"; + map_decode["\xc2\x92"] = "\x92"; + map_decode["\xc2\x93"] = "\x93"; + map_decode["\xc2\x94"] = "\x94"; + map_decode["\xc2\x95"] = "\x95"; + map_decode["\xc2\x96"] = "\x96"; + map_decode["\xc2\x97"] = "\x97"; + map_decode["\xc2\x98"] = "\x98"; + map_decode["\xc2\x99"] = "\x99"; + map_decode["\xc2\x9a"] = "\x9a"; + map_decode["\xc2\x9b"] = "\x9b"; + map_decode["\xc2\x9c"] = "\x9c"; + map_decode["\xc2\x9d"] = "\x9d"; + map_decode["\xc2\x9e"] = "\x9e"; + map_decode["\xc2\x9f"] = "\x9f"; + map_decode["\xc2\xa0"] = "\xa0"; + map_decode["\xc2\xa1"] = "\xa1"; + map_decode["\xc2\xa2"] = "\xa2"; + map_decode["\xc2\xa3"] = "\xa3"; + map_decode["\xc2\xa4"] = "\xa4"; + map_decode["\xc2\xa5"] = "\xa5"; + map_decode["\xc2\xa6"] = "\xa6"; + map_decode["\xc2\xa7"] = "\xa7"; + map_decode["\xc2\xa8"] = "\xa8"; + map_decode["\xc2\xa9"] = "\xa9"; + map_decode["\xc2\xaa"] = "\xaa"; + map_decode["\xc2\xab"] = "\xab"; + map_decode["\xc2\xac"] = "\xac"; + map_decode["\xc2\xad"] = "\xad"; + map_decode["\xc2\xae"] = "\xae"; + map_decode["\xc2\xaf"] = "\xaf"; + map_decode["\xc2\xb0"] = "\xb0"; + map_decode["\xc2\xb1"] = "\xb1"; + map_decode["\xc2\xb2"] = "\xb2"; + map_decode["\xc2\xb3"] = "\xb3"; + map_decode["\xc2\xb4"] = "\xb4"; + map_decode["\xc2\xb5"] = "\xb5"; + map_decode["\xc2\xb6"] = "\xb6"; + map_decode["\xc2\xb7"] = "\xb7"; + map_decode["\xc2\xb8"] = "\xb8"; + map_decode["\xc2\xb9"] = "\xb9"; + map_decode["\xc2\xba"] = "\xba"; + map_decode["\xc2\xbb"] = "\xbb"; + map_decode["\xc2\xbc"] = "\xbc"; + map_decode["\xc2\xbd"] = "\xbd"; + map_decode["\xc2\xbe"] = "\xbe"; + map_decode["\xc2\xbf"] = "\xbf"; + map_decode["\xc3\x80"] = "\xc0"; + map_decode["\xc3\x81"] = "\xc1"; + map_decode["\xc3\x82"] = "\xc2"; + map_decode["\xc3\x83"] = "\xc3"; + map_decode["\xc3\x84"] = "\xc4"; + map_decode["\xc3\x85"] = "\xc5"; + map_decode["\xc3\x86"] = "\xc6"; + map_decode["\xc3\x87"] = "\xc7"; + map_decode["\xc3\x88"] = "\xc8"; + map_decode["\xc3\x89"] = "\xc9"; + map_decode["\xc3\x8a"] = "\xca"; + map_decode["\xc3\x8b"] = "\xcb"; + map_decode["\xc3\x8c"] = "\xcc"; + map_decode["\xc3\x8d"] = "\xcd"; + map_decode["\xc3\x8e"] = "\xce"; + map_decode["\xc3\x8f"] = "\xcf"; + map_decode["\xc3\x90"] = "\xd0"; + map_decode["\xc3\x91"] = "\xd1"; + map_decode["\xc3\x92"] = "\xd2"; + map_decode["\xc3\x93"] = "\xd3"; + map_decode["\xc3\x94"] = "\xd4"; + map_decode["\xc3\x95"] = "\xd5"; + map_decode["\xc3\x96"] = "\xd6"; + map_decode["\xc3\x97"] = "\xd7"; + map_decode["\xc3\x98"] = "\xd8"; + map_decode["\xc3\x99"] = "\xd9"; + map_decode["\xc3\x9a"] = "\xda"; + map_decode["\xc3\x9b"] = "\xdb"; + map_decode["\xc3\x9c"] = "\xdc"; + map_decode["\xc3\x9d"] = "\xdd"; + map_decode["\xc3\x9e"] = "\xde"; + map_decode["\xc3\x9f"] = "\xdf"; + map_decode["\xc3\xa0"] = "\xe0"; + map_decode["\xc3\xa1"] = "\xe1"; + map_decode["\xc3\xa2"] = "\xe2"; + map_decode["\xc3\xa3"] = "\xe3"; + map_decode["\xc3\xa4"] = "\xe4"; + map_decode["\xc3\xa5"] = "\xe5"; + map_decode["\xc3\xa6"] = "\xe6"; + map_decode["\xc3\xa7"] = "\xe7"; + map_decode["\xc3\xa8"] = "\xe8"; + map_decode["\xc3\xa9"] = "\xe9"; + map_decode["\xc3\xaa"] = "\xea"; + map_decode["\xc3\xab"] = "\xeb"; + map_decode["\xc3\xac"] = "\xec"; + map_decode["\xc3\xad"] = "\xed"; + map_decode["\xc3\xae"] = "\xee"; + map_decode["\xc3\xaf"] = "\xef"; + map_decode["\xc3\xb0"] = "\xf0"; + map_decode["\xc3\xb1"] = "\xf1"; + map_decode["\xc3\xb2"] = "\xf2"; + map_decode["\xc3\xb3"] = "\xf3"; + map_decode["\xc3\xb4"] = "\xf4"; + map_decode["\xc3\xb5"] = "\xf5"; + map_decode["\xc3\xb6"] = "\xf6"; + map_decode["\xc3\xb7"] = "\xf7"; + map_decode["\xc3\xb8"] = "\xf8"; + map_decode["\xc3\xb9"] = "\xf9"; + map_decode["\xc3\xba"] = "\xfa"; + map_decode["\xc3\xbb"] = "\xfb"; + map_decode["\xc3\xbc"] = "\xfc"; + map_decode["\xc3\xbd"] = "\xfd"; + map_decode["\xc3\xbe"] = "\xfe"; + map_decode["\xc3\xbf"] = "\xff"; // FIXME: This is just a hack to make Goran Mekic's name work. - map_decode["�\x87"] = "c"; + map_decode["\xc4\x87"] = "c"; } std::string UTF8::fromLatin1(std::string const& s) |