spicy
spicy copied to clipboard
Allow decoding UTF16 strings
We currently support decoding bytes as ASCII or UTF8 strings. We should consider adding support for decoding to UTF16 as well.
For decoding as UTF8 we currently use JuliaStrings/utf8proc. For decoding UTF16 Zeek uses ConvertUTF which can also decode UTF16. If we adopt the latter we could write code similar to what Zeek does.