RE: [PHP] Newbie: Array of objects iteration
| From: | MEM | Date: | Fri, 09 Oct 2009 18:29:56 +0000 |
| Subject: | RE: [PHP] Newbie: Array of objects iteration | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-298820@lists.php.net to get a copy of this message | ||
Done.
print utf8_decode($xls_file);
Regards,
Márcio
> -----Original Message-----
> From: MEM [mailto:talofo@gmail.com]
> Sent: sexta-feira, 9 de Outubro de 2009 18:19
> To: 'MEM'; 'Fernando Castillo Aparicio'; 'Lester Caine';
> 'php-
> general@lists.php.net'
> Subject: RE: [PHP] Newbie: Array of objects iteration
>
> Dear all, it's done.
>
> Can I call your help for the remain issues please, I'm sure they are
> easy to explain, and at some extend, common:
>
> http://pastebin.com/m691d3e66
>
> Instead of saving to the database, if I do a print_r or a var_dump, I
> get the charsets quite ok.
> However, they do not appear properly in the xls file.
>
> I've tried to use utf8_encode but I was not sure where to apply it, and
> I end up with the same strange chars on the .xls file.
>
> If I write a <meta tag containing charset information on the script
> that generates the file, I get headers already send message.
>
> I've tried to add Content-type: application/x-msdownload; *charset=UTF-
> 8;* but no success either...
>
>
>
> Would a proper use of utf8_encode solve this? If so, where?
>
>
>
> Thanks in advance,
> M.