adding utf8 support