The truth about C# strings

The Eric burns about C# strings. The main conclusion is that  C# doesn’t handle strings with surrogate pairs. If you ask for the length of the string you get the number of 16 bit words in the string, not the number of logical characters

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s