add unicode line detection