Author schlamar
Recipients ezio.melotti, schlamar
Date 2012-05-25.06:49:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1337928550.27.0.394572153469.issue14907@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a short example to reproduce the error:

>>> import socket, ssl
>>> sock = socket.socket()
>>> sock = ssl.wrap_socket(sock, cert_reqs=ssl.CERT_REQUIRED, ca_certs=u'รค.crt')
>>> sock.connect((None, None))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python27\lib\ssl.py", line 322, in connect
    self._real_connect(addr, False)
  File "C:\Python27\lib\ssl.py", line 305, in _real_connect
    self.ca_certs, self.ciphers)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 0:
ordinal not in range(128)
History
Date User Action Args
2012-05-25 06:49:10schlamarsetrecipients: + schlamar, ezio.melotti
2012-05-25 06:49:10schlamarsetmessageid: <1337928550.27.0.394572153469.issue14907@psf.upfronthosting.co.za>
2012-05-25 06:49:09schlamarlinkissue14907 messages
2012-05-25 06:49:09schlamarcreate