WordPress email From name with special character

We we send email using wp_email, we can’t use special character like “‘” in from name. It shows like ' instead of single quote.

But here is the solution:

$headers[] = "From: " . wp_specialchars_decode( esc_html( $email_from_name ), ENT_QUOTES ) . " <" . apply_filters( 'prefix_header_from_email', $email_from_email ) . ">\r\n";

Just need to use like

wp_specialchars_decode( esc_html( $email_from_name ), ENT_QUOTES )