mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
pack/unpack M only handles LF line breaks [Feature #14352]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c635662d7f
commit
3a5d1e4b77
1 changed files with 2 additions and 1 deletions
3
pack.c
3
pack.c
|
@ -242,7 +242,8 @@ str_associated(VALUE str)
|
|||
* H | String | hex string (high nibble first)
|
||||
* h | String | hex string (low nibble first)
|
||||
* u | String | UU-encoded string
|
||||
* M | String | quoted printable, MIME encoding (see RFC2045)
|
||||
* M | String | quoted printable, MIME encoding (see also RFC2045)
|
||||
* | | (text mode but input must use LF and output LF)
|
||||
* m | String | base64 encoded string (see RFC 2045, count is width)
|
||||
* | | (if count is 0, no line feed are added, see RFC 4648)
|
||||
* P | String | pointer to a structure (fixed-length string)
|
||||
|
|
Loading…
Add table
Reference in a new issue