Plugin Directory

Changeset 3038115


Ignore:
Timestamp:
02/19/2024 06:23:12 PM (2 years ago)
Author:
ginoplusio
Message:

fixed problem on classes due to iconv transformation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bright-link-previews/trunk/index.php

    r3038106 r3038115  
    237237        $doc = new DOMDocument();
    238238        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));     
    241241
    242242        // Get the body element
Note: See TracChangeset for help on using the changeset viewer.