Skip to content

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

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

gewarren merged 4 commits into
dotnet:masterfrom
gewarren:compare-strings

Conversation

@gewarren

@gewarren gewarren commented Nov 4, 2020 •

Copy link
Copy Markdown
Collaborator

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
Collaborator 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
Collaborator 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.

@BillWagner BillWagner left a comment

Copy link
Copy Markdown
Member

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

gewarren commented Nov 4, 2020

Copy link
Copy Markdown
Collaborator Author

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

@safern safern left a comment

Copy link
Copy Markdown
Member

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