Tag:unicode
All the articles with the tag "unicode".
Escaping Invalid XML Unicode characters
Step-by-step derivation of a C# regex to strip or escape characters invalid in XML, handling UTF-16 surrogate pairs correctly.
Read more…Stripping invalid characters from UTF-16 strings
C# regex approach to remove unpaired UTF-16 surrogate characters from strings to ensure valid Unicode output.
Read more…Unicode literals in PowerShell
How to express Unicode character literals in PowerShell using char casts and ConvertFromUtf32, including surrogate pair handling.
Read more…