added detailed error message to failed parsing error

Sorry for the botched earlier attempt.  This commit accurately renders the location in the parsed file of what line/character was not encoded properly.

Hope this helps.