Чому
https://repl.it/pyI не считает строки юникодом?
Python 2.7.2 (default, Jul 20 2011, 02:32:18)
[GCC 4.2.1 (LLVM, Emscripten 1.5, Empythoned)] on linux2
> print [u'тсе'.find(letter) for letter in u'тест']
[0, 1, 4, 5, 0, 3, 0, 1]
Без веб-говна всё работает.
Python 2.7.6 (default, Mar 22 2014, 22:59:56)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> print [u'тсе'.find(letter) for letter in u'тест']
[0, 2, 1, 0]
Python 2.7.9 (default, Dec 10 2014, 12:24:55) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> print [u'тсе'.find(letter) for letter in u'тест']
[0, 2, 1, 0]