-- a dirty trick to get special small characters working with osk
convertSearchWord = function(currentSearchWord)

currentSearchWord = currentSearchWord:gsub("ä","Ã¤")
currentSearchWord = currentSearchWord:gsub("ö","Ã¶")
currentSearchWord = currentSearchWord:gsub("å","Ã¥")
currentSearchWord = currentSearchWord:gsub("à","Ã ")
currentSearchWord = currentSearchWord:gsub("á","Ã¡")
currentSearchWord = currentSearchWord:gsub("â","Ã¢")
currentSearchWord = currentSearchWord:gsub("ã","Ã£")
currentSearchWord = currentSearchWord:gsub("æ","Ã¦")
currentSearchWord = currentSearchWord:gsub("ç","Ã§")
currentSearchWord = currentSearchWord:gsub("è","Ã¨")
currentSearchWord = currentSearchWord:gsub("é","Ã©")
currentSearchWord = currentSearchWord:gsub("ê","Ãª")
currentSearchWord = currentSearchWord:gsub("ë","Ã«")
currentSearchWord = currentSearchWord:gsub("ì","Ã¬")
currentSearchWord = currentSearchWord:gsub("í","Ã­")
currentSearchWord = currentSearchWord:gsub("î","Ã®")
currentSearchWord = currentSearchWord:gsub("ï","Ã¯")
currentSearchWord = currentSearchWord:gsub("ð","Ã°")
currentSearchWord = currentSearchWord:gsub("ñ","Ã±")
currentSearchWord = currentSearchWord:gsub("ò","Ã²")
currentSearchWord = currentSearchWord:gsub("ó","Ã³")
currentSearchWord = currentSearchWord:gsub("ô","Ã´")
currentSearchWord = currentSearchWord:gsub("õ","Ãµ")
currentSearchWord = currentSearchWord:gsub("ù","Ã¹")
currentSearchWord = currentSearchWord:gsub("ø","Ã¸")
currentSearchWord = currentSearchWord:gsub("ú","Ãº")
currentSearchWord = currentSearchWord:gsub("û","Ã»")
currentSearchWord = currentSearchWord:gsub("ü","Ã¼")
currentSearchWord = currentSearchWord:gsub("ý","Ã½")
currentSearchWord = currentSearchWord:gsub("ÿ","Ã¿")

return currentSearchWord

end