UCDavisLibrary / ucdlib-theme-wp

Wordpress theme port of the UC Davis SiteFarm One Theme
2 stars 0 forks source link

fix for diacritics in patterns #157

Closed UcDust closed 2 years ago

UcDust commented 2 years ago

@NeilWeingarten ran into an issue where diacritics ended up displaying in the public page of patterns with gibberish characters. Normal blocks were fine, and the values saved correctly to the db. It looks like DomDocument wasn't using utf-8, similar to https://stackoverflow.com/questions/6573258/domdocument-and-special-characters