Shouldn't be fooled into encoding strings on 1.8 by unrelated Encoding constant

Fixes #478