Re: How to detect charset encoding with PHP and command line?
| From: | William Lovaton | Date: | Tue, 17 Apr 2007 21:18:04 +0000 |
| Subject: | Re: How to detect charset encoding with PHP and command line? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-253132@lists.php.net to get a copy of this message | ||
Any idea with this one? please??
El lun, 02-04-2007 a las 07:51 -0500, William Lovaton escribió:
> Hi there,
>
> I'd like to know a way to detect the file encoding from PHP and Linux
> command line too.
>
> In PHP I tried mb_detect_encoding() but it doesn't work reliable, first
> I have to specify a list of posible encodings and second it always
> returns the first encoding I put in the list no matter what.
>
> Thanks for your help,
>
>
> -William
>