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.
Can a Delphi 4 and/or Delphi 5 executable be integrated into a C# application?
WCF/REST Get image into picturebox?
Sonar-runner Exception with .NET Project
C# List<object> to IList cast bug in Unity3d
Logging lambda expressions
How to find out size occupied by data table/data set in asp.net C#?
Change DB connection string after publishing a C# console app
excanvas js is not working in IE8 [duplicate]
count number of identical elements in two arrays in linq
WCF logging, set max file size?
LINQ concatenating elements in two string arrays [duplicate]
Trouble with PrintForm Control in C#
Array of different generics
Find node when traversing tree
Differences in event handling in C#