diff --git a/src/KafaTests/KafaReadTests.cs b/src/KafaTests/KafaReadTests.cs index ba2472c..374c2c1 100644 --- a/src/KafaTests/KafaReadTests.cs +++ b/src/KafaTests/KafaReadTests.cs @@ -1,4 +1,4 @@ -using nyingi.Kafa.Reader; +using nyingi.Kafa.Reader; using System.IO; namespace KafaTests @@ -266,5 +266,19 @@ public void ReadSpecialSeparator(string specialStyle) Assert.Equal("\"AAL\"", rows[1].Cols[6].ToString()); } + + + [Fact] + public void ReadUnicode() + { + string unicodeCsv = "2013-02-08,15.07 €,15.12 ¥,14.63 ¥,14.75 ¥,8407500,\"AAL✅\""; + using var rows = Kafa.Read(unicodeCsv, ReadEverythingOption); + Assert.NotEmpty(rows); + Assert.Equal("15.07 €", rows[0].Cols[1].ToString()); + Assert.Equal("14.75 ¥", rows[0].Cols[4].ToString()); + Assert.Equal("\"AAL✅\"", rows[0].Cols[6].ToString()); + + + } } } \ No newline at end of file