encodeAll static method

String encodeAll(
  1. String string
)

Encodes the utf-8 string to the corresponding utf-7 string, also encodes optional direct characters

Should be used if the utf-7 string is used at a place where those characters have a special meaning.

Implementation

static String encodeAll(String string) {
  return _encode(string, _isInStrictSet);
}