slight change of behavior in encode()/decode()
2.0.0