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


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

--

Legend:

Unmodified
Added
Removed
Modified
  • Event/2011/GCI

    v164 v165  
    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   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}}}
    358360  That will throw an exception if the file is not UTF-8.
    359361* If there are rows without a translation, ask the student what the problem was with those rows.