foreign-string-alloc and :string should be able to ignore errors

Bug #622421 reported by Luís Oliveira
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
CFFI
Triaged
Wishlist
Unassigned

Bug Description

Currently, the following is possible:
  (let ((babel-encodings:*suppress-character-coding-errors* t))
    (foreign-string-alloc "pão" :encoding :ascii))

However, it's not very convenient, particularly when using :string types. Even more so, if the :string type is used in a callback function.

Feature requested by Michael Raskin: <http://thread.gmane.org/gmane.lisp.cffi.devel/1852>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.