-(NSString *)convertHTMLToText:(NSString *)htmlString
{
NSString *text;
if (htmlString && [htmlString length]) {
NSAttributedString *attrString;
NSData *data = [htmlString dataUsingEncoding: NSUnicodeStringEncoding];
if (data) {
NSDictionary *encodingDict = [NSDictionary dictionaryWithObject: [NSNumber numberWithInt: NSUnicodeStringEncoding] forKey:@"CharacterEncoding"];
attrString = [[NSAttributedString alloc] initWithHTML: data documentAttributes: encodingDict];
text = [attrString string];
[attrString release];
}
}