--- smsdaemon/util.cpp 2008/06/19 14:47:52 107 +++ smsdaemon/util.cpp 2008/07/04 07:58:26 108 @@ -105,12 +105,34 @@ return retval; } + char my_toupper(char ch) + { + if (ch == 'æ') + return 'Æ'; + if (ch == 'ø') + return 'Ø'; + if (ch == 'å') + return 'Å'; + + return ::toupper(ch); + } + char my_tolower(char ch) + { + if (ch == 'Æ') + return 'æ'; + if (ch == 'Ø') + return 'ø'; + if (ch == 'Å') + return 'å'; + + return ::tolower(ch); + } string str_toupper(string str) { for (unsigned i=0; i