string_chopn was badly broken in several ways:
- calculated wrong string.bufused for e.g. utf8
- tried to modfiy COW or external strings in place

This is fixed now, but string_chopn needs and extra argument 'in_place' to work correctly.

leo

Reply via email to