Why are the Norwegian characters inserted into the database with the MySQL dump damaged?

Inserting Norwegian characters into my application through the browser tab ( php ) works fine ( json data subsequently returned by the server is correct). But when I insert data using MYSQL dump , the records become damaged and json is returned by the server, then NULL displayed instead of Norwegian characters .

Any ideas?

+4
source share
1 answer

Sounds like a character encoding problem. What character encoding are you using?

Perhaps try this ?

+2
source

Source: https://habr.com/ru/post/1440790/


All Articles