(uffi:convert-from-foreign-usb8 char-ptr length)
(error "Can't return blob since length is not specified.")))
(t
- ;; sb-unicode still broken with converting with length, assume
+ ;; sb-unicode doesn't work converting with length, assume
;; that string is null terminated
#+sb-unicode
- (uffi:convert-from-foreign-string char-ptr :locale :none)
+ (uffi:convert-from-foreign-string char-ptr)
#-sb-unicode
(if length
(uffi:convert-from-foreign-string char-ptr