anilgulecha/trelby — comment on commit 6838dc508f0ec55980dae34995a26d2802727911
File: src/myimport.py line 65
By anilgulecha:

I needed to do this as I saw odd behaviour in dealing with FD's forced linebreak'd elements. I could not split them right with .split(\n). Which is why I only convert to Unicode, after we split in addText.

PS: Just tried splitting with u"\n", and that worked. So I'll use your suggested method, and split with u"\n".