Lisp: Need help getting correct behaviour from SBCL when converting octet stream to EUC-JP with malformed bytes
The following does not work in this particular case, complaining that whatever you give it is not a character.

    (handler-bind ((sb-int:character-coding-error #'(lambda (c) (invoke-restart 'use-value #\?)))) (sb-ext:octets-to-string *euc-jp* :external-format :euc-jp))

Where `*euc-jp*` is a variable containing binary of EUC-JP encoded text.

I have tried `#\KATAKANA_LETTER_NI` as well, instead of #\? and also just "". Nothing has worked so far.

Any help would be greatly appreciated!
Lisp: Need help getting correct behaviour from SBCL when converting octet stream to EUC-JP with malformed bytes
===

The following does not work in this particular case, complaining that whatever you give it is not a character.

    (handler-bind ((sb-int:character-coding-error #'(lambda (c) (invoke-restart 'use-value #\?)))) (sb-ext:octets-to-string *euc-jp* :external-format :euc-jp))

Where `*euc-jp*` is a variable containing binary of EUC-JP encoded text.

I have tried `#\KATAKANA_LETTER_NI` as well, instead of #\? and also just "". Nothing has worked so far.

Any help would be greatly appreciated!