Fixed incorrect handling of UTF-8 text
Authored by: artyom-beilis 2011-01-12
Parent: [r1632]
Child: [r1634]