• + 0 comments

    line="你好世界" # Chinese characters echo "${line:0:4}" Output: �

    this is where cut will work