I'll look into it. Can you send me an example SSA file and a project with the result you're getting? Send to email@example.com wrote:Hi Paul,
Thanks for your excellent script!
Sadly, I seem to be encountering a show-stopper with it.
I am using After Effects CS3 in Vista Home Premium 32-bit. When I import an SSA file with some Chinese subtitles, it always halts on a line when it contains 16 or more Chinese characters. The Chinese characters are Unicode-encoded. As far as I can tell, there is no error in the SSA file.
The script just stops at the 16-or-more line (as if there are no more lines to process) and no error message comes up.
Am I making some sort of mistake, or is there a workaround I should apply in this situation (short of truncating lines with 16 or more characters?)