bruth/django-tracking2 — pull request #38 by bentleycook (2014-07-16 16:51:21+00:00)
Title: Latin Encoding Fix

A user agent that is encoded with latin-1 causes a DataError to be raised when the Visitor objects is saved. The problematic character is a middot.

Error:
DataError: invalid byte sequence for encoding "UTF8": 0xb7

Meta:
'HTTP_USER_AGENT': 'Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Rogers Hi\xb7Speed Internet; (R1 1.3))',