- bugfix large template text of some charsets could cause parsing errors...

... (topic 24630)