Hola buen día!!
Bueno mi situación es que estoy haciendo un script en php utilizando el Webapi del Cerberus - Helpdesk
http://wiki.cerb4.com/wiki/Web-API
tomando el ejemplo del
http://wiki.cerb4.com/wiki/Parser_%28Web-API%29
Código:
<?
require_once("Cerb4WebApi.php");
$access_key = "";
$secret_key = "";
$cerb4 = new Cerb4_WebApi($access_key, $secret_key);
$url = 'http://localhost/cerb4/index.php/webapi/addresses/42.xml';
$payload = "<message>"
." <![CDATA[Message-ID: <4772F470.7000802@localhost>"
." Date: Wed, 26 Dec 2007 16:40:16 -0800"
." From: Jeff Standen <jeff@localhost>"
." In-Reply-To: <47897B9E.2060304@localhost>"
." User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)"
." MIME-Version: 1.0"
." To: Cerberus Dropbox <cerberus@localhost>"
." CC: customer@localhost"
." Subject: New ticket with CC"
." Content-Type: text/plain; charset=ISO-8859-1; format=flowed"
." Content-Transfer-Encoding: 7bit"
." Con acentos (á) no funciona, sin acentos (é) si funciona!"
."]]>"
."</message>";
$out = $cerb4->put($url, $payload);
if(null != ($content_type = $cerb4->getContentType()))
header("Content-Type: " . $content_type);
echo $out;
?>
Mi problema viene cuando le quiero poner acentos!! alguien conoce el dilema, muchas gracias anticipados.
saludos