problems with utf-8 problems with utf-8
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

problems with utf-8

Started by kailew, October 06, 2008, 11:59:28 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kailew

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 ...

<?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