Did you test it with other encodings?

I repeated steps 1 to 4 with the exception that I changed encoding to utf-8 in step 2 and still got the same error.

Besides, the whole database became unreadable after changing the encoding to utf-8.