decode basestring as utf-8