How to check Excel file encoding?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
madox
Forum Newbie
Posts: 4
Joined: Wed Mar 08, 2006 5:28 pm

How to check Excel file encoding?

Post by madox »

My scrpt needs to export data from Excel file to MySQL database. But, I have problem. When ecoding of Excel file is default script wordks fine, but when Excel file contains cirilic letters, encoding of Excel file is changed, and script dont work anymore. So, i need function to check encoding of Excel file, so I can use function that mach that encoding.
I alreadu searc php manual and this forum, and I have not find anu help.

Thank you in advance.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

care to post your code so we can understand what you're dealing with?
Post Reply