What is the equivalent of String.Encoding.utf8.rawValue in Objective C? : I would like to know what is equivalent of String.Encoding.utf8.rawValue in Swift.

I need this for proper encoding of string value.

Any help will be greatly appreciated.