Update convertTextToAscii

At this point it works, time for cleanup