Revert "Fixed a bug with the comma formatting"

This reverts commit 2a27b5f63bda8af7f2e103c1a4dfbf49d46aaee3.
Fixed a bug with the comma formatting

Needed a slightly different locale (UTF-8)
Fixed a bug with newlines in cookies

MAL sometimes returns cookies with newlines. Code
has been added to fix any bad cookies as a result
of this problem.