After converting line-endings, you'll have a stringref... You should encode this as a DataRef in UTF-16 (using MCStringEncode), and then pass the MCDataGetOldString() into texttoparagraphs.