This function had been marked as deprecated.

Callback used to change %uXXXX to &#YYY; syntax

Signature

funky_javascript_callback( $matches )
matches
 (array) Single Match

Return

(string) An HTML entity

Source

function funky_javascript_callback($matches) {
	return "&#".base_convert($matches[1],16,10).";";
}
WP Trac GitHub

Link here