Re: shell_exec and accents
| From: | DvDmanDT | Date: | Thu, 29 Jan 2004 19:03:57 +0000 |
| Subject: | Re: shell_exec and accents | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-176250@lists.php.net to get a copy of this message | ||
As I said somewhere else about an hour ago, use like Iconv or something like
that.. It's caused by different charsets.. Chances are quite big you want to
use iso-8859-1, but the shell command uses something else..
--
// DvDmanDT
MSN: dvdmandt?hotmail.com
Mail: dvdmandt?telia.com
"Phpdiscuss - Php Newsgroups And Mailing Lists" <timarmes@hotmail.com> skrev
i meddelandet news:20040129142042.89063.qmail@pb1.pair.com...
> Hi,
>
> I'm using shell_exec to call a command that can return accented
> characters. Unfortunately the accented characters are being transformed
> into other characters instead (for example, an acute e becomes a ',').
>
> How can I get the real output?
>
> I'm running on Windows 2000. In the command prompt the command returns
> the accents correctly.
>
> Tim