Printing Astral Plane Unicode code point to console using int
Please see here for a related question. However, char goes to 0xffff (or 65535). I need to write 0xd800df46 (or 66374), Gothic letter Faihu, so casting that int to char will not work. I do the conversion ok, that is, I get the correct integer, meaning I calculate the surrogate pairs ok, but I don't know how to "render" it, convert it to a character to be output as a glyph. Please notice that I cannot use \Unnnn for ... well, theoretical reasons. Thank you.
Okay, you need to convert a single integer into a surrogate pair which you'd represent as a string: string x = char.ConvertFromUtf32(66374); For more operations than that, you can use my Utf32String class in MiscUtil, as well as various other methods in System.Char.
Are tags like asp:xxx the best way to implement data in an ASP.NETapplication?
Deleting a single registry value in C#
C# Replace a text in string with if the text contains in String list
ASP.Net C# Object Persists after Saving to Session Once
Web API - Detecting Client Domain
Stackexchange Redis - How to get large number of records paged
bootstrap select dropdown loading issue
Setting ConverterCulture using x:Static
SQL query to Linq Lambda Expression - Join same table with group condition
Memory allocation of string Builder. What happens in memory? StringBuilder vs String
LINQ unable to OrderBy date in specific column?
How do I add a value to a ComboBox selection in C#?
How to turn a generic ASP.net 4.5 MVC 5 login/register into a front facing modal?
Is it possible to update Cors Policy dyamically (OWIN pipeline)
get nearest tens-place number above and below any number
Linq statement : Order by