Can someone explain this piece of Unicode to me at some detail? It is supposed to print the numbers 1-9 in Babylonian notation, but I do not follow the carrets ^ and the syntax


\newfontfamily\hg{Segoe UI Historic}


  • in classic tex ^^1f adds the character with code hex 1f luatex and xetex extend that to allow 4 or 6 ^ followed by 4 or 6 hex digits which adds the character with that code (this must be a duplicate) – David Carlisle Oct 8 at 19:18