Advanced search  

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]

Pages: [1]   Go Down

Author Topic: problems with utf-8  (Read 3340 times)

0 Members and 1 Guest are viewing this topic.

kailew

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
problems with utf-8
« 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
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 19 queries.