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

Commit

Permalink
Fixing 'ASCII-8BIT to UTF-8' error when importing entry that contains…
Browse files Browse the repository at this point in the history
… the 'ü' character
  • Loading branch information
AllenInstitute committed Oct 27, 2011
1 parent c1c96ec commit 081ae88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/etl/control/destination/file_destination.rb
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def flush
end

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

# write the end-of-line
f.write(eol)
Expand Down

0 comments on commit 081ae88

Please sign in to comment.