adding utf-8 support