consider unknown encoding to be utf-8, first