Re: [PHP] file type and recode

2006-08-31 Thread Martin Marques
On Wed, 30 Aug 2006, Curt Zirzow wrote: On 8/29/06, Martin Marques wrote: Simple question: Is there a built-in function in PHP to get the charset of a file, so that I can pass the right parameters to recode_file()? It depends. If it is a .txt file (nope) a .doc file (mabey, pending the .do

Re: [PHP] file type and recode

2006-08-31 Thread Curt Zirzow
On 8/29/06, Martin Marques wrote: Simple question: Is there a built-in function in PHP to get the charset of a file, so that I can pass the right parameters to recode_file()? It depends. If it is a .txt file (nope) a .doc file (mabey, pending the .doc format) a .xml file (most likely, unless

[PHP] file type and recode

2006-08-29 Thread Martin Marques
Simple question: Is there a built-in function in PHP to get the charset of a file, so that I can pass the right parameters to recode_file()? -- 21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18 - Lic. Martín Marqués