With special letters the API PHP file shows a blank page
With special letters the API PHP file shows a blank page
paintitblack
Posts: 60Questions: 20Answers: 0
Hi,
I tried this nice example https://datatables.net/blog/2016-03-25 and it worked pretty well until I added an user with the German special letters like Ä, Ö or Ü (äöü).
In that cases the php API shows a blank page. How can I update the PHP file for the Editor to use these special letters? In some cases I can't controll the datebase so it must be usible with these letters.
Kind regards
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Do you have a link to the page showing the issue please? There should be no issue with using characters outside the ASCII range as long as your PHP and database are both configured to use UTF8 (or some other character set that is consistent).
Allan
I got it. I loaded an initial database with öäü in it. When I use the API than this special letter are stored in another way (e.g. ü für ü)
If you save a ü with phpmyadmin directly in the table than the API shows still a blank page. Maybe the error handling can be improved in this point, but for me it's solved now. Thank you very much for your support.