problems with utf-8 problems with utf-8
 

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

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