eutervogel Posted August 2, 2019 Share Posted August 2, 2019 Hi, I've build a little Page for my brother where he can upload a cvs file to upload multiple images at a time. The images contain a german desc an english desc numer of likes and so on. Everything is working fine so far, but when the german description contains ä, ö or ü the description field stays emtpy. I tried too use different sanitizers, but, no luck so far. $string = 'Drosselrohrsänger'; $string = $sanitizer->entities($string); echo $string No output What am I doing wrong? Link to comment Share on other sites More sharing options...
BitPoet Posted August 2, 2019 Share Posted August 2, 2019 Are your PHP script and the CSV file both in UTF8? 1 Link to comment Share on other sites More sharing options...
eutervogel Posted August 2, 2019 Author Share Posted August 2, 2019 The PHP file is. Csv needs to be checked. I'm afk at the moment but thanks for the tip. Edit: The problem was, that the CSV was not in UTF-8. Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now