Nick Wellnhofer created LUCY-311:
------------------------------------

             Summary: Non-ASCII error messages from strerror cause exceptions
                 Key: LUCY-311
                 URL: https://issues.apache.org/jira/browse/LUCY-311
             Project: Lucy
          Issue Type: Bug
          Components: Store
            Reporter: Nick Wellnhofer


The code in Lucy/Store creates Err objects with error messages returned from 
strerror. Especially under non-English locales, these messages aren't 
necessarily valid UTF-8. Now that CB_VCatF checks C strings for invalid UTF-8, 
this results in an exception.

Here's an example with a German error message in Latin1 encoding:

http://www.cpantesters.org/cpan/report/20d4902a-8673-11e6-9bc4-e52240a03099




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to