clojure.string/capitalize can give wrong result if first char is supplementary

Description

When the first unicode code point of a string is supplementary (i.e. requires two 16-bit Java chars to represent in UTF-16), and that first code point is changed by converting it to upper case, clojure.string/capitalize gives the wrong answer.

Environment

all

Assignee

Unassigned

Reporter

Andy Fingerhut

Labels

None

Approval

None

Patch

Code and Test

Fix versions

Affects versions

Priority

Minor
Configure