Function: json--decode-utf-16-surrogates

json--decode-utf-16-surrogates is a byte-compiled function defined in json.el.gz.

Signature

(json--decode-utf-16-surrogates HIGH LOW)

Documentation

Return the code point represented by the UTF-16 surrogates HIGH and LOW.

Source Code

;; Defined in /usr/src/emacs/lisp/json.el.gz
;; String parsing

(defun json--decode-utf-16-surrogates (high low)
  "Return the code point represented by the UTF-16 surrogates HIGH and LOW."
  (+ (ash (- high #xD800) 10) (- low #xDC00) #x10000))