Fix for handling unicode metadata.