Multibyte characters-aware <BS>
Fixed subtle bug in multibyte characters handling