fix: checking and adjusting excerpt bytelength for cut off multibyte chars