Skip to content

Commit a8e6781

Browse files
committed
2 parents c73e8c0 + a0b255b commit a8e6781

File tree

1 file changed

+4
-0
lines changed
  • WorldBirdNamesParser/WorldBirdNamesParser

1 file changed

+4
-0
lines changed

WorldBirdNamesParser/WorldBirdNamesParser/Program.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,10 @@ void ProcessLocale(string file)
128128
int rowCounter = 0;
129129
Specie specie = null;
130130

131+
// Output UTF-8 encoding and aves class.
132+
Console.WriteLine("SET NAMES utf8;");
133+
Console.WriteLine("INSERT INTO specie_classes (`scientific`) VALUES ('Aves');");
134+
131135
// Get sheet range and loop through rows.
132136
Range range = workbook.Sheets[1].UsedRange;
133137
for (int row = 4; row <= range.Rows.Count; row++)

0 commit comments

Comments
 (0)