I assume it'll be related to the database charset but I'm not sure beyond that. I can't say I've ever had to worry about this sort of thing. It seems to break the formatting on the demo but is fine on the develop instance.
Hopefully someone else can chime in with ideas.
I redacted your database credentials, there's no need to share them here.