added string/unicode conversion functions