Initial pass at adding unicode support functions. A few things still need