wrote rough draft of utfcodelookup()