removed string creation, so that the developer can specify the encoding himself