It's especially tricky because URI(u'http://localhost:3200/sy/Bl\xe5b\xe6rsyltet\xf8ysys') returns no error when it is constructed, but Tracebacks if the str() method is called (e.g. during logging)