On Sun 06 Mar 2011 20:52, Clinton Ebadi <[email protected]> writes:
> While debugging[0] an issue with Bobot++ (poor sneek!) aborting after > calling scm_regexp_exec on any utf-8 strings I eventually realized > that... the string was actually single-byte encoded internally. After > taking that down the wrong path I eventually tested `regexp-exec' with a > *valid* latin-1 string and that too aborted in `fixup_multibyte_match'. This was actually due to scm_to_locale_string() not producing a valid locale string. Having fixed that, I verified that meta/guile -c '(display (regexp-exec (make-regexp "(.)(.)(.)") (string (integer->char 200) (integer->char 201) (integer->char 202))))' no longer triggers the abort. Thanks for the report, Andy -- http://wingolog.org/
