Changeset 3038115
- Timestamp:
- 02/19/2024 06:23:12 PM (2 years ago)
- File:
-
- 1 edited
-
bright-link-previews/trunk/index.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
bright-link-previews/trunk/index.php
r3038106 r3038115 237 237 $doc = new DOMDocument(); 238 238 libxml_use_internal_errors(true); 239 $doc->loadHTML('<?xml encoding="utf-8" ?>' . htmlspecialchars_decode($content));240 /* $doc->loadHTML('<?xml encoding="utf-8" ?>' . iconv('UTF-8', 'ASCII//TRANSLIT',$content)); */239 /* $doc->loadHTML('<?xml encoding="utf-8" ?>' . htmlspecialchars_decode($content)); */ 240 $doc->loadHTML('<?xml encoding="utf-8" ?>' . iconv('UTF-8', 'ISO-8859-1//TRANSLIT',$content)); 241 241 242 242 // Get the body element
Note: See TracChangeset
for help on using the changeset viewer.