Function: textsec-whole-script-confusable-p

textsec-whole-script-confusable-p is a byte-compiled function defined in textsec.el.gz.

Signature

(textsec-whole-script-confusable-p STRING1 STRING2)

Documentation

Say whether two single-script strings STRING1 and STRING2 are confusables.

Two strings are said to be confusables if they might look very similarly on display. The script property of characters is defined by the Unicode Standard Annex 24 (UAX#24).

Source Code

;; Defined in /usr/src/emacs/lisp/international/textsec.el.gz
(defun textsec-whole-script-confusable-p (string1 string2)
  "Say whether two single-script strings STRING1 and STRING2 are confusables.
Two strings are said to be confusables if they might look very
similarly on display.
The script property of characters is defined by the Unicode Standard
Annex 24 (UAX#24)."
  (and (textsec-mixed-script-confusable-p string1 string2)
       (textsec-single-script-p string1)
       (textsec-single-script-p string2)))