Announcing Viceroy, the pure-Swift alternative to iconv for character encodings

Viceroy is a 100% Swift character-encoding library for all Swift platforms.

Viceroy has zero dependencies. It's stdlib only.

Viceroy can decode/encode 76,981 mappings by the byte, chunk, or stream—100% of the WHATWG Encoding Standard.

:dagger: includes tests to prove parity with your local iconv install

7 Likes

Nice, just compiled it and ran the tests natively on my Android phone, no problem. :+1: You should switch to using the official swiftlang workflows like this, rather than writing your own with the various OS-specific toolchain setup actions. :man_pouting: Adding Android testing with the official workflows is two lines, including running your tests in the emulator. :smiling_face_with_sunglasses:

1 Like

Thanks, will do! :clinking_beer_mugs: