Juniper/py-junos-eznc — pull request #314 by sergzin (2014-11-21 14:43:53+00:00)
Title: Update view.py

Junos allows non-ASCII characters in interface descriptions.
Some characters cannot be converted safely into string. In this case it is better to replace them with '?' or ignore.

>>> astype = type('str')
>>> astype(u'\x96')
Traceback (most recent call last):
File "", line 1, in
UnicodeEncodeError: 'ascii' codec can't encode character u'\x96' in position 0: ordinal not in range(128)