Encodes a key-value pair.

@param {string} sKey
The key
@param {string} sValue
The sValue
@returns {string}
The encoded key-value pair in the form "key=value"
773891
function (sKey, sValue) {
			return _Helper.encode(sKey, true) + "=" + _Helper.encode(sValue, false);
		}
628917
function (key, value) {
    /* jshint eqnull:true */
    _str.push(_encode(key) + '=' + (value === null || value === undefined ? '' : _encode(value)));
    // _str.push(( key ) + "=" +  (value == null ? "" : ( value )));
  }
215710
function(sKey, sPath) {
			oContext = that.oModel.getContext('/' + sKey);
			return that.oModel.getProperty(sPath, oContext);
		}
604823
protected function getDefaultStorageValue($sKey, $sDefaultValue = null)
    {
        if (empty($this->obDefaultStorage)) {
            return $sDefaultValue;
        }

        return $this->obDefaultStorage->get($sKey, $sDefaultValue);
    }
1326953
function typedValues(svalue) {
    var commaSplit = /("[^"]*")|('[^']*')|([^,]+)/g
    var values = []
    svalue
        .match(commaSplit)
        .forEach(function(value) {
            values.push(typedValue(value))
        })
    return values;
}
394396
SimpleJsonEncoder appendToJSON(final String key, final Object value) {
        if (closed) {
            throw new IllegalStateException("Encoder already closed");
        }
        if (value != null) {
            appendKey(key);
            if (value instanceof Number) {
                sb.append(value.toString());
            } else {
                sb.append(QUOTE).append(escapeString(value.toString())).append(QUOTE);
            }
        }
        return this;
    }
918053
@Nonnull
  @Nonempty
  public static String getQuotedStringValue (@Nonnull final String sValue)
  {
    ValueEnforcer.notNull (sValue, "Value");
    if (sValue.length () == 0)
      return "\"\"";
    return '"' + StringHelper.replaceAll (sValue, "\"", "\\\"") + '"';
  }
1050679
private String encodeKeysGet(String keys) {
        try {
            return URLEncoder.encode(keys, "UTF-8");
        } catch(Exception ex) {
            throw new RuntimeException("Could not prepare view argument: " + ex);
        }
    }
588202
function get(key, stringify) {
  var val = this._data[key] ? this._data[key].value :
    (DEFAULTS[key] !== undefined ? DEFAULTS[key] : undefined);

  if(val === undefined) return null;
  if(stringify) {
    val = this.encode(key, val, true);
  }
  return val;
}
942019
@Nullable
  public static String encode (@Nullable final String sValue, @Nonnull final Charset aCharset, final ECodec eCodec)
  {
    if (sValue == null)
      return null;

    try
    {
      switch (eCodec)
      {
        case Q:
          return new RFC1522QCodec (aCharset).getEncoded (sValue);
        case B:
        default:
          return new RFC1522BCodec (aCharset).getEncoded (sValue);
      }
    }
    catch (final Exception ex)
    {
      return sValue;
    }
  }
64188
@Nonnull
  public FineUploader5DeleteFile addCustomHeader (@Nonnull @Nonempty final String sKey, @Nonnull final String sValue)
  {
    ValueEnforcer.notEmpty (sKey, "Key");
    ValueEnforcer.notNull (sValue, "Value");

    m_aDeleteFileCustomHeaders.put (sKey, sValue);
    return this;
  }
462175
function sk(key) {
    if (globalKeySanitize) {
      return key;
    } else {
      return key.replace(/\s+/g, '_')
                .replace(/\//g, '-')
                .replace(/[^a-zA-Z_\-0-9\.]/g, '');
    }
  }
1218020
func EncodeKeyValue(key, val string) (string, string) {
	key = strings.ToLower(key)
	if strings.HasSuffix(key, binHdrSuffix) {
		val = base64.StdEncoding.EncodeToString([]byte(val))
	}
	return key, val
}
636352
function pushEncodedKeyValuePair(pairs, key, val) {
  if (val != null) {
    if (Array.isArray(val)) {
      val.forEach(function(v) {
        pushEncodedKeyValuePair(pairs, key, v);
      });
    } else if (isObject(val)) {
      for(var subkey in val) {
        pushEncodedKeyValuePair(pairs, key + '[' + subkey + ']', val[subkey]);
      }
    } else {
      pairs.push(encodeURIComponent(key)
        + '=' + encodeURIComponent(val));
    }
  } else if (val === null) {
    pairs.push(encodeURIComponent(key));
  }
}
710783
public void key( String skey ) throws jsqlite.Exception {
        synchronized (this) {
            byte ekey[] = null;
            if (skey != null && skey.length() > 0) {
                ekey = new byte[skey.length()];
                for( int i = 0; i < skey.length(); i++ ) {
                    char c = skey.charAt(i);
                    ekey[i] = (byte) ((c & 0xff) ^ (c >> 8));
                }
            }
            _key(ekey);
        }
    }
954684
private void addValuedKey(final StringBuffer sb, String key, String fullKey) {

		sb.append(getJsonKey(key)).append(":").append(FUNC)
				.append(JavascriptStringUtil.quote(bundleValues.get(fullKey).toString()));
	}
1188559
@Nullable
  public static String decode (@Nullable final String sValue)
  {
    if (sValue == null)
      return null;

    try
    {
      // try BCodec first
      return new RFC1522BCodec ().getDecoded (sValue);
    }
    catch (final DecodeException de)
    {
      // try QCodec next
      try
      {
        return new RFC1522QCodec ().getDecoded (sValue);
      }
      catch (final Exception ex)
      {
        return sValue;
      }
    }
    catch (final Exception e)
    {
      return sValue;
    }
  }