added unicode
exception added for decoding topic