diff --git a/wp-includes/html-api/class-wp-html-decoder.php b/wp-includes/html-api/class-wp-html-decoder.php
index d902f4b7ca..d14009d3d9 100644
--- a/wp-includes/html-api/class-wp-html-decoder.php
+++ b/wp-includes/html-api/class-wp-html-decoder.php
@@ -424,7 +424,7 @@ class WP_HTML_Decoder {
* @return string Converted code point, or `�` if invalid.
*/
public static function code_point_to_utf8_bytes( $code_point ): string {
- $string = mb_chr( $code_point );
+ $string = mb_chr( $code_point, 'UTF-8' );
return false !== $string ? $string : '�';
}
diff --git a/wp-includes/version.php b/wp-includes/version.php
index d3cf146b41..7c7ad9d166 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '7.1-alpha-62486';
+$wp_version = '7.1-alpha-62487';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.