azizdogan Posted July 14, 2022 Report Share Posted July 14, 2022 Hi, i noticed that on some pages UTF-8 is not working. I am working with special turkish characters. In the media section i add media - and all characters are displayed in the correct way and stored also in the right way. See attachment 1. On pages like showmedia.php i dont see this special characters - neither in the header - page title they are correct. See attachment 2. So characters like Ğ are not shown in all sites. Anyone an idea how to solve that display problem? Maybe there is a function like htmlspecialchars() who is destrozing that UTF-8 characters? Quote Link to comment Share on other sites More sharing options...
Rob Severijns Posted July 15, 2022 Report Share Posted July 15, 2022 Aziz, I don't think I have the solution for you but looking at the first screenshot I see parts of it are in German and the rest is in I guess Turkish. Is there a secondaire language installed. There might be some charactersetting in your database settings that is not in line with the one choosen during install. Have a look at your phpmyadmin and check the TNG languages. my collation setting there is utf8_general_ci Hopefully that helps. Quote Link to comment Share on other sites More sharing options...
Ken Roy Posted July 15, 2022 Report Share Posted July 15, 2022 In order for UTF-8 to be displayed correctly everything must be UTF-8. (Database, GEDCOM, The ? would indicate that some of the text appears to be ASCII or ANSI. See the different articles in the Charset category on the TNG Wiki. Since I do not read the language used on your screen captures, I am not sure where the data with ? in it is coming from or being translated by AJAX functions. Quote Link to comment Share on other sites More sharing options...
azizdogan Posted July 15, 2022 Author Report Share Posted July 15, 2022 Hi, all is in UTF-8. So its not a problem of charset or encoding. There are 2 fields in the database. Description and ALTDescription, notes and altnotes. All stuff from alternate fields is displayed wrong. I solved it now - it has to be put in description and notes. Quote Link to comment Share on other sites More sharing options...
Ken Roy Posted July 15, 2022 Report Share Posted July 15, 2022 4 minutes ago, azizdogan said: Description and ALTDescription, notes and altnotes. All stuff from alternate fields is displayed wrong. I solved it now - it has to be put in description and notes. You might let Darrin know by emailing him directly since he does not monitor the forum. Quote Link to comment Share on other sites More sharing options...
azizdogan Posted July 15, 2022 Author Report Share Posted July 15, 2022 aye aye, Captain Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.