DataDog/dogapi — pull request #112 by bradenmacdonald (2014-09-27 03:54:50+00:00)
Title: Fix statsd exception when tags contain a unicode character

`dog_stats_api.increment` and other methods will not work if the `tags` strings contain any non-ASCII characters:

```
Traceback (most recent call last):
File "dogapi/stats/statsd.py", line 29, in add_point
self.socket_sendto(payload, self.address)
UnicodeEncodeError: 'ascii' codec can't encode character ...
dd.dogapi: ERROR: couldnt submit statsd point
```

This is a simple fix. Works on Python 2.7 and 3.x.