Typing five-digit Unicode Does macOS have a way to enter Unicode characters with more than four hex digits?  The flags, for example, are ligatures, each with two five-digit code points.  They are supported by macOS fonts, appearing as expected when I paste them into this question in Safari or into TextEdit (from Wikipedia).  And they resize properly with the font.

Flags:          
         

Flags, of course, I can paste from Wikipedia.  But in the past, there have been others where I knew the code but had no copy source.  

The proctalgic workaround is to create a numeric HTML entity in a file, open it in Safari, and copy-paste.

I could also expand the Unicode Hex Input IM, but that's not exactly fun, either.
Normally you would use the MacOS Character Viewer (Edit > Emoji &amp; Symbols) to input these, rather than copy/pasting from some external source.  The non-expanded, popover, version of the Character Viewer can be operated from the keyboard alone, via the search box, down arrow, and enter key.

If you want enter codes directly from the keyboard, you should be able to type each 5 digit code point using the 8 character utf-16 hex equivalent via the Unicode Hex Input Source, as described in this earlier answer.