forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: kailew on October 06, 2008, 11:59:28 am

Title: problems with utf-8
Post by: kailew on October 06, 2008, 11:59:28 am
Hi,

I like to use cpmfetch on a non-utf-8 page... I guess there should be a way to convert perhaps pTitle and other things with iconv into ISO 8859-1. But to be honest I don't know how to use iconv in the code ...

Code: [Select]
<?php
  
include "./cpmfetch.php";
  
$objCpm = new cpm("./cpmfetch_config.php");
  
$options = array( 'imagesize' => 'int'"subtitle" => "{{pTitle}}");
  
$objCpm->cpm_viewRandomMediaFrom("cat=4",11$options);
  
$objCpm->cpm_close();
?>

Maybe someone can help me ...?

Kai