2

I display a cell value from a MYSQL-Table in a PHP/HTML-Website.

I'm from Switzerland, we use special-letters like " Ö ö Ä ä Ü ü "

Usually, these letters work when they are in direct html like <p> Zurück </p>.

But when they come from mysqli-query it looks like <p>^Zur-(Salino-shape with ? inside)-ck <p>

Why is this?

Here are my settings:

table-row :

type: text ; collation : utf32-german-ci ; Null: No; Auto-Increment: No;

html-meta: <meta http-equiv="Content-Type" content="text/html; charset=utf-32" />

i also tried to Switch row and html to different charsets but it doesnt change.

HKK
  • 237
  • 1
  • 3
  • 17

1 Answers1

0

Set charset as utf8

mysql_set_charset('utf8');

and

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
Rakesh KR
  • 6,357
  • 5
  • 40
  • 55