Improve migrations and correct obscure cp1252 charset error