# discogs web sources script fails on utf-8 names with spaces

**URL:** https://community.mp3tag.de/t/discogs-web-sources-script-fails-on-utf-8-names-with-spaces/7378
**Category:** Web Sources Discussion
**Created:** [October 26, 2008, 6:25am UTC](https://community.mp3tag.de/t/discogs-web-sources-script-fails-on-utf-8-names-with-spaces/7378 "2008-10-26T06:25:55Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![darkmist](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/c57346/32.png) [@darkmist](https://community.mp3tag.de/u/darkmist)
#### Post date: [October 26, 2008, 6:25am UTC](https://community.mp3tag.de/t/discogs-web-sources-script-fails-on-utf-8-names-with-spaces/7378/1 "2008-10-26T06:25:55Z")

</div>

I use discogs.src from v2.42 installer, without any modification.  
If i request artist with any non-latin characters in its name starting with small names or with mixed case ( like [гости+из+будущего](http://www.discogs.com/artist/%D0%B3%D0%BE%D1%81%D1%82%D0%B8+%D0%B8%D0%B7+%D0%B1%D1%83%D0%B4%D1%83%D1%89%D0%B5%D0%B3%D0%BE) ), script fails with message "Error connecting to server: [www.discogs.com](http://www.discogs.com)". It happens because of all words with non-latin characters in discogs urls should start with capital letter like this one: [Гости+Из+Будущего](http://www.discogs.com/artist/%D0%93%D0%BE%D1%81%D1%82%D0%B8+%D0%98%D0%B7+%D0%91%D1%83%D0%B4%D1%83%D1%89%D0%B5%D0%B3%D0%BE). Is it possible to fix case of text retrieved from user?  
Thanks ahead.

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [October 26, 2008, 7:48am UTC](https://community.mp3tag.de/t/discogs-web-sources-script-fails-on-utf-8-names-with-spaces/7378/2 "2008-10-26T07:48:50Z")

</div>

You can edit the script and change  
[SearchBy]=%artist%  
to  
[SearchBy]=$caps(%artist%)

But it will only capitalize if your artist tag is filled, not if you type it in the search box.
