|
Posted by Erwin Moller on 04/06/06 17:08
ZeldorBlat wrote:
>
> greg wrote:
>> Hello,
>>
>> I'm searching to know if a local file is ascii or binary.
>> I couldn't find it in the manual, is there a way to know that ?
>>
>> thanks,
>>
>> --
>> greg
>
> <http://www.php.net/mb_detect_encoding>
Hi,
You made me curious. :-)
How can that function diffentiate between encodings?
How is that done?
I mean: The string contains a set of numbers behind the scene that have a
certain corresponding character depending on the characterset used.
Now it looks the other way around: It's like the string also contains
information on what encoding is used for it.
It that true?
I must be missing something completely.
Can anybody explain how this function works?
TIA
Regards,
Erwin Moller
Navigation:
[Reply to this message]
|