The Movable Type Knowledge Base

Malformed UTF-8 Character

Question

When saving an entry or rebuilding, I see an error message that starts with Malformed UTF-8 character (unexpected continuation byte 0xb7) at extlib/DateTime/LocaleCatalog.pm line 25.

Answer

This error typically shows up when you've used a Mac to upload the files. If so, then upload the file again, but this time, use BINARY mode.

Although most of the files in the distribution should be uploaded in ASCII mode, the extlib/DateTime/LocaleCatalog.pm contains non-ASCII characters and thus would technically need to be uploaded in BINARY mode instead.

However, it appears that most Windows FTP clients still seem to transfer the file correctly even when choosing ASCII mode. Mac FTP clients do not, so users on Macs will need to choose BINARY mode when uploading this particular file.

Submit Feedback on This Article

Your comments on how we can improve this article are appreciated; but please do not use the feedback form to submit support requests or questions. We will not respond to or publish such queries submitted through this form. If you have a technical question or problem, visit Movable Type Support.

Yahoo! Small Business web hosting services

Six Apart
Makers of weblog software and services for individuals, organizations and businesses.
This website is powered by Movable Type.