problem with german Umlaut in expanded tree

Asked by omnior

After a principal successful installation and transfer of my phpgedview 4.2.3 gedcom, I still have a (known problem in my phpgedview) I still encounter, although I hoped to get rid of it.
In the tree view if I have a name which uses german Umlauts (ä/ö/ü) they are correctly shown. But if I expand the name by clicking on it, it will show instead strange letters (eg. Jürgen becomes Jýgen).
This problem just happens in the treeview, nowhere else.
I already tried to export the gedcom from phpgedview as UTF converted or not, no matter how the checkbox is marked, the problem remains the same.
Anybody an idea what the problem really is and how to overcome? Is this a bug or do I have a problem with my gedcom?

Question information

Language:
English Edit question
Status:
Solved
For:
webtrees Edit question
Assignee:
No assignee Edit question
Solved by:
fisharebest
Solved:
Last query:
Last reply:
Revision history for this message
Jens Kettwig (jlkettwig) said :
#1

Have you checked your SQL-tables whether all of them are in the UTF-8 format? Seems to me that one table might have a different format.

Revision history for this message
omnior (robert-manner) said :
#2

All 29 tables in the mysql have Kollation utf8_unicode_ci is there something else I could or have to check?

Revision history for this message
fisharebest (fisharebest) said :
#3

I cannot reproduce this problem on my own system. Is there a URL where I can see it? If the site is private, you can send me details by email to <email address hidden>

Revision history for this message
fisharebest (fisharebest) said :
#4

I have also tried this on a PGV4.2.3 system, and cannot reproduce it. Does it happen with all browsers?

Revision history for this message
omnior (robert-manner) said :
#5

yes, the strange letters appear with firefox and IE, I just tried, they even appear in a new created database. I have the feeling it must have to do with the mysql settings at my provider.
Greg, I sent you a private mail.

Revision history for this message
omnior (robert-manner) said :
#6

The strange thing is, the problem only shows up, if I expand an individual in the interactive treeview.
In all other menus, diagrams and views, the Umlaute appear correctly. Just if I expand an interactive treeview...

Revision history for this message
omnior (robert-manner) said :
#7

I forgot to mention. In a report that is downloaded as .pdf no problem, in a report downloaded as .html the Umlaut Problem appears.

Revision history for this message
Best fisharebest (fisharebest) said :
#8

The server is adding "charset=ISO-8859-1" to the HTTP headers. This is either a PHP.INI or APACHE2.CONF setting.

The code has been updated to add an explicit "charset=UTF-8".

Revision history for this message
omnior (robert-manner) said :
#9

Thanks fisharebest, that solved my question.