Add support for zero-width characters

Signed-off-by: Gregory Petrosyan <gregory.petrosyan@gmail.com>