How to decode file from cp1047 to UTF-8 and encode to cp1047?

How to decode file form cp1047 to UTF-8 and decode a file to cp1047 using Elixir?

I think your best bet is to have a look at https://github.com/processone/iconv, and see if that works for your needs :grin:

There is also https://github.com/tallakt/codepagex, which seems to be used a lot.

1 Like

Take a look at my thread some months ago: Sharing with the community: text transcoding libraries

Basically, I went with erlyconv.

2 Likes

Resolved with this PR https://github.com/eugenehr/erlyconv/pull/1 in the erlyconv