Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use enconv to convert from UCS-2/LF/21..UTF-8 #44

Open
contentfree opened this issue Nov 13, 2021 · 0 comments
Open

Unable to use enconv to convert from UCS-2/LF/21..UTF-8 #44

contentfree opened this issue Nov 13, 2021 · 0 comments

Comments

@contentfree
Copy link

I have a file that enca (correctly) reports as UCS-2/LF/21 (a data file downloaded from Tableau). However, enca is unable to convert it to UTF-8:

➜ enca --version
enca 1.19

Features: -librecode-interface +iconv-interface +external-converter +language-detection +locale-alias +target-charset-auto +ENCAOPT
➜ enconv -L none -x utf8 -E $(which iconv) -V data.csv
enconv: converting `data.csv': UCS-2/LF/21..UTF-8
enconv: no converter is able/allowed to perform conversion UCS-2/LF/21..UTF-8 on file `data.csv'

It seems like I need to use the output of the -i switch but that only prints out the iconv name. How do I get enca to use the iconv name when attempting conversion?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant