Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: problems with utf-8  (Read 3261 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.023 seconds with 19 queries.