Add the ability to force an encoding on the plaintext

closes #64