Reply to Re: ascii or binary

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация