Austinb / GameQ

A PHP Gameserver Status Query Library
https://austinb.github.io/GameQ/
GNU Lesser General Public License v3.0
403 stars 137 forks source link

Encoding problem #692

Closed gaisindanil closed 1 year ago

gaisindanil commented 1 year ago

Greetings, when receiving the server name, an error arrives in the form: "^4U^5n^7i^5trem^1i^6a ^7EU - GrangerHub.com", but it should be like: "Unitremia EU - GrangerHub.com" what is the problem, help me please...

Gasjki commented 1 year ago

Hello! Game type? IP / Port / Query port?

Austinb commented 1 year ago

This is mostly likely due to color codes in the hostname field. There is a strip color filter that can be used to remove these characters before the data is returned. Please read the wiki for more information.