Skip to content

iconv conversion #12

Open
Open
@ramigg

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

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