Fix for CJK multi byte environment