Skip to content

Commit

Permalink
Merge pull request #162 from Lulu13022002/fix/encoding
Browse files Browse the repository at this point in the history
Decode motd from query properly
  • Loading branch information
xPaw authored Oct 17, 2024
2 parents b522ec6 + 489a88d commit f9669b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MinecraftQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ private function GetStatus( string $Challenge ) : void
}
else if( $Last != false )
{
$Info[ $Last ] = \mb_convert_encoding( $Value, 'UTF-8' );
$Info[ $Last ] = \mb_convert_encoding( $Value, 'UTF-8', 'ISO-8859-1' );
}
}

Expand Down

0 comments on commit f9669b8

Please sign in to comment.