Lastfm API and Russian language?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
24 views
Try using LastFM API to the Russian-speaking information about the artist. English finds no problems.


Use a class sourceforge.net/projects/phplastfmapi/


To change the language in the query add the parameter lang=EN
by | 24 views

2 Answers

0 like 0 dislike
"ws.audioscrobbler.com/2.0/?method=artist.getinfo&artist=". urlencode($artist). "&api_key=". $key"
$artist should be in утф8.
Infuriates them that the register of Russian letters is important, can't do utf8_general_ci chtoli...
by
0 like 0 dislike
and how is encoded by the parameter in the query?
\r
\rso it worked I have worked
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
0 like 0 dislike
3 answers
110,608 questions
257,186 answers
0 comments
26,999 users