php - Domdocument encoding -
the question domdocument encoding, when open html string contain utf-8 contents, loadhtml method , changes , when want save , variable savehtml , put database, characters changed :
روش را امتحان and can't read it. characters , suggestion prevent change ?
it appears not parsing html properly. read more info http://php.net/manual/en/class.domdocument.php
Comments
Post a Comment