Changes between Version 164 and Version 165 of Event/2011/GCI
- Timestamp:
- 12/18/11 08:16:11 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Event/2011/GCI
v164 v165 353 353 * To check that the file is UTF-8 encoded, you can open it in to Notepad++ or gedit, 354 354 or read it with Python codec. In a Python shell:[[br]] 355 import codecs[[br]] 356 f = codecs.open("submitted_file.csv", "r", "utf-8")[[br]] 357 in = f.read()[[br]] 355 {{{ 356 import codecs 357 f = codecs.open("submitted_file.csv", "r", "utf-8") 358 in = f.read() 359 }}} 358 360 That will throw an exception if the file is not UTF-8. 359 361 * If there are rows without a translation, ask the student what the problem was with those rows.