Message9223

Author jeff.allen
Recipients jeff.allen
Date 2014-12-01.22:57:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1417474638.79.0.0171787824497.issue2234@psf.upfronthosting.co.za>
In-reply-to
Content
In what may be part of the same problem (or that arises from some attempts at a work-around), we may be wrong to look for an encoding declaration in the case where Unicode is supplied here:
https://hg.python.org/jython/file/849ec9c291db/src/org/python/core/ParserFacade.java#l281

At any rate, the logic seems fragile that decides when a String is really a byte-like object, and when it might actually be UTF-16. Is cflags.source_is_utf8 saying quite what we mean?
History
Date User Action Args
2014-12-01 22:57:18jeff.allensetmessageid: <1417474638.79.0.0171787824497.issue2234@psf.upfronthosting.co.za>
2014-12-01 22:57:18jeff.allensetrecipients: + jeff.allen
2014-12-01 22:57:18jeff.allenlinkissue2234 messages
2014-12-01 22:57:17jeff.allencreate