Correct encoding error message

The encoding error message has actual / expected transposed to the text, this swaps them back..

Fixes #356.