You mean may be null?
Didn't want to complicate the code with another condition. Null will be encoded to an empty string.