fix unicode support by using unicode strings everywhere