Huffman (and even more so arithmetic encoding or ANS (asymmetric numeral systems [0]) would be significantly better, if you're careful how you encode data.
[0]: https://en.wikipedia.org/wiki/Asymmetric_numeral_systems