title: Reading russian language data from csv
body: <p>I have some data in CSV file that are in Russian:</p>
  
  <pre><code>2-комнатная квартира РДТ',  мкр Тастак-3,  Аносова — Толе би;Алматы
  2-комнатная квартира БГР',  мкр Таугуль,  Дулати (Навои) — Токтабаева;Алматы
  2-комнатная квартира ЦФМ',  мкр Тастак-2,  Тлендиева — Райымбека;Алматы
  </code></pre>
  
  <p>Delimiter is <code>;</code> symbol.</p>
  
  <hr>
  
  <p>I want to read data and put it into array. I tried to read this data using this code:</p>
  
  <pre><code>def loadCsv(filename):
      lines = csv.reader(open(filename, "rb"),delimiter=";" )
      dataset = list(lines)
      for i in range(len(dataset)):
          dataset[i] = [str(x) for x in dataset[i]]
      return dataset
  </code></pre>
  
  <p>Then I read and print result:</p>
  
  <pre><code>mydata = loadCsv('krish(csv3).csv')
  print mydata
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>[['2-\xea\xee\xec\xed\xe0\xf2\xed\xe0\xff \xea\xe2\xe0\xf0\xf2\xe8\xf0\xe0,  \xec\xea\xf0 \xd2\xe0\xf1\xf2\xe0\xea-3,  \xc0\xed\xee\xf1\xee\xe2\xe0 \x97 \xd2\xee\xeb\xe5 \xe1\xe8', '\xc0\xeb\xec\xe0\xf2\xfb'], ['2-\xea\xee\xec\xed\xe0\xf2\xed\xe0\xff \xea\xe2\xe0\xf0\xf2\xe8\xf0\xe0,  \xec\xea\xf0 \xd2\xe0\xf3\xe3\xf3\xeb\xfc,  \xc4\xf3\xeb\xe0\xf2\xe8 (\xcd\xe0\xe2\xee\xe8) \x97 \xd2\xee\xea\xf2\xe0\xe1\xe0\xe5\xe2\xe0', '\xc0\xeb\xec\xe0\xf2\xfb'], ['2-\xea\xee\xec\xed\xe0\xf2\xed\xe0\xff \xea\xe2\xe0\xf0\xf2\xe8\xf0\xe0,  \xec\xea\xf0 \xd2\xe0\xf1\xf2\xe0\xea-2,  \xd2\xeb\xe5\xed\xe4\xe8\xe5\xe2\xe0 \x97 \xd0\xe0\xe9\xfb\xec\xe1\xe5\xea\xe0', '\xc0\xeb\xec\xe0\xf2\xfb']]
  </code></pre>
  
  <hr>
  
  <p>I found that in this case codecs are required and tried to do the same with this code:</p>
  
  <pre><code>import codecs
  with codecs.open('krish(csv3).csv','r',encoding='utf8') as f:
      text = f.read()
  print text
  </code></pre>
  
  <p>I got this error:</p>
  
  <pre><code>newchars, decodedbytes = self.decode(data, self.errors)
  
  UnicodeDecodeError: 'utf8' codec can't decode byte 0xea in position 2: invalid continuation byte
  </code></pre>
  
  <p>What is the problem? When using codecs how to specify delimiter in my data?
  I just want to read data from file and put it in 2-dimensional array. </p>