NattapongSiri / covid_cb

MIT License
2 stars 1 forks source link

CSV2TMX cannot match first column language code #19

Closed NattapongSiri closed 4 years ago

NattapongSiri commented 4 years ago

The first language code in first line will never match with user parameter.

Investigation show that the csv2tmx.py in wlt-dataset cannot match language code in first column because there's UTF-8 BOM prefixed on first column.

NattapongSiri commented 4 years ago

fixed by add encoding="utf-8-sig" when open the file