Problem with PHP and CSV

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
Maarten1987
Forum Newbie
Posts: 1
Joined: Mon Mar 24, 2008 4:39 am

Problem with PHP and CSV

Post by Maarten1987 »

I need to make an PHP application for my school. It's a project that will be used in school. Teacher's can upload a CSV file with for example an English - Dutch translation exercise. But there's problem when a teacher uploads an CSV file. When a word starts with a special char (for example the french word écran), PHP doesn't read in the first char, so in php you've got "cran" instead of "écran". When the special char is somewhere else in the word like for example "déconnecter" there's no problem at all. I've looked on the internet, I tried everything but nothing works. Can somebody help my out with this?

Thanks in advance!

Greatings,

Maarten

P.S. excuse me for my bad english.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Problem with PHP and CSV

Post by Christopher »

Do you have code you can show?
(#10850)
Post Reply