John Cowan wrote: > In addition, the Rationale makes clear that internal newlines can be > mapped to anything appropriate on output, including CR/LF and padding > with blank spaces to fit into a card reader/punch environment:
Only for "text mode IO". Not for binary mode IO. If you want to portably(*) deal with Unicode IO, esp. UTF-16 and UTF-32 (either BE or LE), but also UTF-8, use binary mode IO. /kent k ----------- (*) Portable here means: working the same way for the same input on each platform, not "platform dependent".
smime.p7s
Description: S/MIME cryptographic signature