[Bug 920778] Review Request: python-MultipartPostHandler2 - A handler for urllib2 to enable multipart form uploading

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=920778

--- Comment #7 from Miro Hrončok <mhroncok@xxxxxxxxxx> ---
(In reply to comment #6)
> Therefore, if you use
> 
> print(opener.open(validatorURL, params).read().decode('utf-8'))
> 
> everything will work as you expect and it is also actually the "correct"
> behaviour, so to say.

Can't say that



+ /usr/bin/python3 MultipartPostHandler-example.py
Traceback (most recent call last):
  File "MultipartPostHandler-example.py", line 29, in <module>
    main()
  File "MultipartPostHandler-example.py", line 26, in main
    validateFile("http://www.google.com";)
  File "MultipartPostHandler-example.py", line 19, in validateFile
    print(opener.open(validatorURL, params).read().decode('utf-8'))
UnicodeEncodeError: 'ascii' codec can't encode character '\u2026' in position
1422: ordinal not in range(128)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=Ywc67rcMlm&a=cc_unsubscribe
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review



[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]