Skip to content

iconv conversion #12

Description

@ramigg

Ruby 1.9.3
Rails 3.2.6
I need to produce output in UTF-16LE encoding.

It was not enough to supply @input_encoding = 'UTF-8' and @output_encoding = 'UTF-16LE' as it caused exception (from csv):

incompatible character encodings: UTF-16LE and US-ASCII

I had also supply :encoding => 'UTF-16LE' as part of @csv_options

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions