Вопрос

I have problems decoding several Chars.

In the Database, the Chars Ä, Ö and Ü are saved like "ö" or "�"

Any Idea how i can decode those Chars back to ÄÖÜ?

Это было полезно?

Решение

If i remeber correctly you have to change dóthe data type to BLOB first, then you can reset the data type to VARCHAR or something similar with UTF8 encoding. Remember: the database, the table and all of the columns collation have to be UTF8 and even the connection to the database and the output encoding (for example as HTML output the charset header).

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top