[RCD] email list showing zeros

Roland Liebl roland at roland-liebl.de
Wed Oct 21 20:39:21 CEST 2009


OK this fails:

<?php
 if(!iconv("UTF-8", "UTF8//IGNORE", '123€123')){
   echo "failure";
 }
 else{
  echo "success";
 }
?>

----- Original Message ----- 
From: "A.L.E.C" <alec at alec.pl>
Cc: <dev at lists.roundcube.net>
Sent: Wednesday, October 21, 2009 8:18 AM
Subject: Re: [RCD] email list showing zeros


> Roland Liebl wrote:
>
>> 'iconv' works for me. This can't be the problem. Could you provide a
>> string which is passed to 'rc_utf8_clean' by AJAX remotely?
>
> this could be an array or string so, just add console($input) at the
> beginning of this function body and check logs/console.
>
>> if(!iconv("UTF-8", "ISO-8859-1//IGNORE", '123€123')){
>
> Ok, but test with UTF8//IGNORE
>
> -- 
> Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252
> LAN Management System Developer http://lms.org.pl
> Roundcube Webmail Project Developer http://roundcube.net
>
> _______________________________________________
> List info: http://lists.roundcube.net/dev/
> 


_______________________________________________
List info: http://lists.roundcube.net/dev/


More information about the Dev mailing list