Now template file use character 0xA7 as caret position, since 0xA7 is a leading byte in MBCS system such as chinese, japanese system, so now the template has some bug!
I think should change to other character or modify the read of the template to avoid this bug!