Added support of UTF-8 flags and icase option
Authored by: artyom-beilis 2015-12-29
Parent: [r2383]
Child: [r2385]