How to encode 32-bit Unicode characters in a PowerShell string literal?
问题 This Stack Overflow question deals with 16-bit Unicode characters. I would like a similar solution that supports 32-bit characters. See this link for a listing of the various Unicode charts. For example, a range of characters that are 32-bit are the Musical Symbols. The answer in the question linked above doesn't work because it casts the System.Int32 value as a System.Char, which is a 16-bit type. Edit: Let me clarify that I don't particularly care about displaying the 32-bit Unicode