jshackles/idle_master — pull request #46 by MasterOdin (2014-12-20 04:36:12+00:00)
Title: Remove unicode characters in AppNames when displaying

Two test cases:

Age of Empires III (contains :copyright:):
```
>>> api = requests.get("http://store.steampowered.com/api/appdetails/?appids=105450&filters=basic")
>>> a = json.loads(api.text)
>>> a[str("105450")]["data"]["name"]
u'Age of Empires\xae III: Complete Collection'
>>> str(unicode(a[str("105450")]["data"]["name"]))
Traceback (most recent call last):
File "", line 1, in
UnicodeEncodeError: 'ascii' codec can't encode character u'\xae' in position 14: ordinal not in range(128)
>>> a[str("105450")]["data"]["name"].encode('ascii','ignore')
'Age of Empires III: Complete Collection'
>>> type(a[str("105450")]["data"]["name"].encode('ascii','ignore'))

```

Batman: Arkham Origins (contains :tm:)
```
>>> api = requests.get("http://store.steampowered.com/api/appdetails/?appids=209000&filters=basic")
>>> a = json.loads(api.text)
>>> a[str("209000")]["data"]["name"]
u'Batman\u2122: Arkham Origins'
>>> str(unicode(a[str("209000")]["data"]["name"]))
Traceback (most recent call last):
File "", line 1, in
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2122' in position 6: ordinal not in range(128)
>>> a[str("209000")]["data"]["name"].encode('ascii','ignore')
'Batman: Arkham Origins'
```