Checked to see if the encoding pointer is NULL to prevent BAD_ACCESS when creating a NSString
Checked to see if the version pointer is NULL to prevent BAD_ACCESS when creating a NSString