The encoder can now return \u escaped unicode data instead of leaving it as UTF-8 byte sequences. This done like so: Eshell V5.8.3 (abort with ^G) 1> jiffy:encode(<<240, 144, 129, 128>>, [uescape]). <<"\"\\uD800\\uDC40\"">>