Fix of utf-16 handling, +comments
Authored by: artyom-beilis 2010-09-09
Parent: [r1413]
Child: [r1415]