Check UTF-8 support for the output
()
| 35 | # Check UTF-8 support # |
| 36 | |
| 37 | def _utf8_support(): |
| 38 | """ |
| 39 | Check UTF-8 support for the output |
| 40 | """ |
| 41 | try: |
| 42 | if WINDOWS: |
| 43 | return (sys.stdout.encoding == "utf-8") |
| 44 | return True |
| 45 | except AttributeError: |
| 46 | return False |
| 47 | |
| 48 | |
| 49 | if _utf8_support(): |
no outgoing calls
no test coverage detected
searching dependent graphs…