IDEMSInternational / rapidpro-flow-toolkit

Toolkit for using spreadsheets to create and modify RapidPro flows
GNU Lesser General Public License v2.1
3 stars 1 forks source link

Google Sheets preserves platform-specific newline character(s) #115

Closed istride closed 5 months ago

istride commented 5 months ago

During development of ParentText Mexico, it was found that carriage return characters (\r) were appearing in output text intended for translators. This phenomenon does not happen when the input spreadsheets are CSV files - maybe because Python automatically converts newline character sequences to \n.

This means it is the GoogleSheetReader, which uses the Google Sheets API, that is allowing carriage returns to be read in and affect downstream processing.