Added unicode to string generation

Should fix #514