Changes between Version 163 and Version 164 of Event/2011/GCI


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

--

Legend:

Unmodified
Added
Removed
Modified
  • Event/2011/GCI

    v163 v164  
    353353* To check that the file is UTF-8 encoded, you can open it in to Notepad++ or gedit,
    354354  or read it with Python codec.  In a Python shell:[[br]]
    355   {{{
    356   import codecs
    357   f = codecs.open("submitted_file.csv", "r", "utf-8")
    358   in = f.read()
    359   }}}[[br]]
     355  import codecs[[br]]
     356  f = codecs.open("submitted_file.csv", "r", "utf-8")[[br]]
     357  in = f.read()[[br]]
    360358  That will throw an exception if the file is not UTF-8.
    361359* If there are rows without a translation, ask the student what the problem was with those rows.