Skip to content
This repository was archived by the owner on May 21, 2024. It is now read-only.

Commit 081ae88

Browse files
author
AllenInstitute
committed
Fixing 'ASCII-8BIT to UTF-8' error when importing entry that contains the 'ü' character
1 parent c1c96ec commit 081ae88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/etl/control/destination/file_destination.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def flush
9393
end
9494

9595
# write the values joined by the separator defined in the configuration
96-
f.write(values.join(separator))
96+
f.write(values.join(separator).force_encoding("UTF-8"))
9797

9898
# write the end-of-line
9999
f.write(eol)

0 commit comments

Comments
 (0)