Ruby latest stable (v1_9_3_392) - 0 notes - Class: Base64

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.

decode_b(str) public

Decodes text formatted using a subset of RFC2047 (the one used for mime-encoding mail headers).

Only supports an encoding type of ‘b’ (base 64), and only supports the character sets ISO-2022-JP and SHIFT_JIS (so the only two encoded word sequences recognized are =?ISO-2022-JP?B?...= and =?SHIFT_JIS?B?...=). Recognition of these sequences is case insensitive.

Show source
Register or log in to add new notes.