mime.js
No description.

File Location

/goog/i18n/mime.js


Public Protected Private

Global Functions

goog.i18n.mime.encode(stropt_noquote) string
Encodes a string for inclusion in a MIME header. The string is encoded in UTF-8 according to RFC 1522, using quoted-printable form.
Arguments:
str : string
The string to encode.
opt_noquote : boolean=
Whether double-quote characters should also be escaped (should be true if the result will be placed inside a quoted string for a parameter value in a MIME header).
Returns: string  The encoded string.
code »
goog.i18n.mime.getHexCharArray(c) !Array.<string>
Get an array of UTF-8 hex codes for a given character.
Arguments:
c : string
The matched character.
Returns: !Array.<string>  A hex array representing the character.
code »

Directory i18n

File Reference