Question about Mysqli and the Swedish language


I created a menu that fetches data from a database when you hover over it. The menu works just fine, but it replaces the three Swedish signs Å, Ä and Ö med boxes.
The php file that contains the menu uses utf-8.
How do I make this thing understand Å, Ä and Ö?

Just a thought, have you tried to set the page that shows the hover to use the same char table as the database do?

Sure, that’s been take care of.

I see this as three layers in turn passing on the hover data.

The menu that displays it, the database source for it, and the tool that fetches the data.

Each need to interpret the data the same or otherwise, preferably the “hover tool”, have to translate it to UTF-8 for the menu to show.

Hope I understood the issue correctöy, I’m not a database guy. :slight_smile:

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.