[Python-de] Encoding für stdin/stdout

Hartmut Goebel h.goebel at goebel-consult.de
Di Mai 19 14:48:17 CEST 2015


Am 19.05.2015 um 14:46 schrieb Hartmut Goebel:
> Ist es ausreichend, den Parameter /universal_newlines/ zu setzen? (Der
> berücksichtigt /locale.getpreferredencoding/)?

Die Frage muss ich präzisieren: Für Python3 *könnte* das m.E.
funktionieren. Aber bei Python 2 wird getpreferredencodingnicht benutzt.

-- 
Schönen Gruß
Hartmut Goebel
Dipl.-Informatiker (univ), CISSP, CSSLP
Information Security Management, Security Governance, Secure Software
Development

Goebel Consult, Landshut
http://www.goebel-consult.de

Blog:
http://www.goebel-consult.de/blog/kleiner-erfahrungsbericht-mit-online-ocr-diensten

Kolumne: http://www.cissp-gefluester.de/2010-09-mut-zur-beschraenkung

-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <http://mail.python.org/pipermail/python-de/attachments/20150519/d18a6c33/attachment.html>
-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname   : smime.p7s
Dateityp    : application/pkcs7-signature
Dateigröße  : 2410 bytes
Beschreibung: S/MIME Cryptographic Signature
URL         : <http://mail.python.org/pipermail/python-de/attachments/20150519/d18a6c33/attachment.bin>


Mehr Informationen über die Mailingliste python-de