curs_in_wchstr(3x) on macOS
The text 18cba2ad54e0, as Mac OS X 10.5.8, Mac OS X 10.5.7, Mac OS X 10.5.6, Mac OS X 10.5.5, Mac OS X 10.5.4, Mac OS X 10.5.3, Mac OS X 10.5.2, Mac OS X 10.5.1, Mac OS X 10.5 shipped it.
get an array of complex characters and renditions from a curses window