Closed NattapongSiri closed 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.
csv2tmx.py
wlt-dataset
fixed by add encoding="utf-8-sig" when open the file
encoding="utf-8-sig"
The first language code in first line will never match with user parameter.
Investigation show that the
csv2tmx.py
inwlt-dataset
cannot match language code in first column because there's UTF-8 BOM prefixed on first column.