Implement string parsing

UTF-8 is probably not yet correctly working.