> Hmm... indeed we don't have any direct way to create a unibyte string.
> Can you `M-x report-emacs-bug` to request this new feature?
will do
> AFAICT while the string needs to have a NUL byte after its end,
> make_string should handle NUL bytes within the string, so the best
> option until a new primitive is provided is probably:
> 1- use make-string on your non-utf-8 binary data.
> 2- call encode-coding-string on the result (with utf-8 coding system).
This works! very slow, but it works, I'll use this hack for now
thanks