Changes between Version 161 and Version 162 of Event/2011/GCI


Ignore:
Timestamp:
12/18/11 08:10:02 (10 years ago)
Author:
Pat Tressel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Event/2011/GCI

    v161 v162  
    352352* Check that each line splits into two columns.
    353353* To check that the file is UTF-8 encoded, you can open it in to Notepad++ or gedit,
    354   or read it with Python codec.  In a Python shell:
     354  or read it with Python codec.  In a Python shell:[[br]]
    355355  {{{
    356 }}}
     356  import codecs
     357  f = codecs.open("submitted_file.csv", "r", "utf-8")
     358  in = f.read()
     359}}}[[br]]
     360  That will throw an exception if the file is not UTF-8.
    357361* If there are rows without a translation, ask the student what the problem was with those rows.
    358362* 90% successful translations is acceptable.