Function for unescaping HTML entities/unicode chars