Enforce file enc. for tstring_content & regexp_beg

Also a typo