Hi, > Assertion failed: (w >= 0), function cpstripped, file > ../nmh/sbr/fmt_scan.c, line 291.
char_len = mbtowc(&wide_char, str, len); if (char_len < 0) { altstr = "?"; char_len = mbtowc(&wide_char, altstr, 1); } I wonder if mbtowc()'s internal shift state needs resetting after the first call returns -1 before it's asked to translate "?". -- Cheers, Ralph. https://plus.google.com/+RalphCorderoy _______________________________________________ Nmh-workers mailing list Nmh-workers@nongnu.org https://lists.nongnu.org/mailman/listinfo/nmh-workers