Skip to content

Behavior changes due to NLS -> ICU switch on Windows#21333

Merged
gewarren merged 4 commits intodotnet:masterfrom
gewarren:compare-strings
Nov 4, 2020
Merged

Behavior changes due to NLS -> ICU switch on Windows#21333
gewarren merged 4 commits intodotnet:masterfrom
gewarren:compare-strings

Conversation

@gewarren
Copy link
Copy Markdown
Contributor

@gewarren gewarren commented Nov 4, 2020

Hide whitespace changes in diff

Preview link.

@gewarren gewarren marked this pull request as ready for review November 4, 2020 04:45
@gewarren gewarren requested review from a team and adegeo as code owners November 4, 2020 04:45
@@ -0,0 +1,65 @@
---
title: Best practices for displaying and persisting formatted data in .NET
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file's content is not new - it was just split off from the uber best practices doc.

title: "Best Practices for Using Strings in .NET"
description: Learn how to use strings effectively in .NET applications.
title: "Best Practices for Comparing Strings in .NET"
description: Learn how to compare strings effectively in .NET applications.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since 95% of this file was about comparing strings, I think it's much clearer what it's about to say "best practices for comparing strings" rather than "best practices for using strings", which seems pretty vague to me.

Copy link
Copy Markdown
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM @gewarren

Thanks for the comments to aid the review. That helped quite a bit.

You can :shipit: when ready.

@gewarren
Copy link
Copy Markdown
Contributor Author

gewarren commented Nov 4, 2020

Any more feedback before I merge this?

@gewarren gewarren merged commit 40ded2e into dotnet:master Nov 4, 2020
@gewarren gewarren deleted the compare-strings branch November 4, 2020 21:12
Copy link
Copy Markdown
Member

@safern safern left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improving docs with regard to how existing string APIs deal with globalization

4 participants