Skip to content

Commit f9669b8

Browse files
authored
Merge pull request #162 from Lulu13022002/fix/encoding
Decode motd from query properly
2 parents b522ec6 + 489a88d commit f9669b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MinecraftQuery.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ private function GetStatus( string $Challenge ) : void
166166
}
167167
else if( $Last != false )
168168
{
169-
$Info[ $Last ] = \mb_convert_encoding( $Value, 'UTF-8' );
169+
$Info[ $Last ] = \mb_convert_encoding( $Value, 'UTF-8', 'ISO-8859-1' );
170170
}
171171
}
172172

0 commit comments

Comments
 (0)