Skip to content

Commit

Permalink
Fix UTF8 encoding for Linux builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
bchavez committed Jan 14, 2024
1 parent dc78156 commit 95e55db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/Bogus.Tests/GitHubIssues/Issue86.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@ public Issue86()
[Fact]
public void should_remove_diacritic_marks()
{
"hello ÄÖÜí world".RemoveDiacritics().Should().Be("hello AOUi world");
"hello ÄÖÜí world".RemoveDiacritics().Should().Be("hello AOUi world");
}

[Fact]
public void should_remove_diacritic_marks_in_email()
{
internet.Email("ßra'inÄÖÜí", "ÄÖÜíchavez").Should().Be("ssrainAeOeUei81@yahoo.com");
internet.Email("ßra'inÄÖÜí", "ÄÖÜíchavez").Should().Be("ssrainAeOeUei81@yahoo.com");
}

[Fact]
public void should_remove_diacritic_marks_in_username()
{
internet.UserName("ßri'ÄÖÜían", "chaÄÖÜíez").Should().Be("ssriAeOeUeian.chaAeOeUeiez");
internet.UserName("ßri'ÄÖÜían", "chaÄÖÜíez").Should().Be("ssriAeOeUeian.chaAeOeUeiez");
}
}

0 comments on commit 95e55db

Please sign in to comment.