(mostly) fixed DOI unicode bug