Skip to content
This repository was archived by the owner on Nov 13, 2026. It is now read-only.

Encoding.EncodingName: Use ordinal comparison - #1483

Merged
jkotas merged 1 commit into
dotnet:masterfrom
justinvp:encodingname
Jul 8, 2016
Merged

jkotas merged 1 commit into
dotnet:masterfrom
justinvp:encodingname

Conversation

@justinvp

@justinvp justinvp commented Jul 7, 2016

Copy link
Copy Markdown
Contributor

Pass StringComparison.Ordinal to StartsWith, otherwise the comparison will be done using the current culture.

Pass `StringComparison.Ordinal` to `StartsWith`, otherwise the
comparison will be done using the current culture.
@jkotas

jkotas commented Jul 8, 2016

Copy link
Copy Markdown
Member

LGTM. Thanks!

cc @tarekgh

@jkotas
jkotas merged commit 73f6508 into dotnet:master Jul 8, 2016
@justinvp
justinvp deleted the encodingname branch July 22, 2016 20:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants