deivit24 / python-steam-api

MIT License
25 stars 11 forks source link

Incorrect encoding #33

Closed TiroMaks closed 1 month ago

TiroMaks commented 1 month ago

When you change the country in the search query, the response does not come in UTF-8 encoding

With this error (see screenshot) I came across it when the Cyrillic alphabet appeared in the response Example

TiroMaks commented 1 month ago

The same error occurs when receiving information about the game steam.apps.get_app_details(292030)

Example

deivit24 commented 1 month ago

@TiroMaks Hey. I was able to replicate and fix the first issue in the search query. I am actually web scraping for that function.

However, I am not able to replicate it on the get_app_details. I tried and I am getting the correct encoding. Is there anyway you can provide more details so I can try to replicate it? Screenshot 2024-05-26 at 8 54 41 PM

deivit24 commented 1 month ago

@TiroMaks Maybe the browser you are using is doing this?

This is what I got: Screenshot 2024-05-26 at 9 03 47 PM

deivit24 commented 1 month ago

Going to close this issue. I could not replicate the issue with get_app_details but was able to fix the issue with the search.

If the get_app_details issue continues, can you please open up another issue and provide a little for details on how to replicate it