Re: [dev] [st utf8 3/4] Change internal character representation.

From: Jan Christoph Ebersbach <>
Date: Fri, 22 May 2015 16:06:57 +0200


I just realized that UTF-8 characters aren't supported as word
delimiters. The attached patch fixes this issue.

For a higher usefulness of the utf8strchr function, the index of the
UTF-8 character could be returned in addition with a Rune instead of a
char*. Since utf8strchr is currently only used by ISDELIM I didn't
bother to increase the complexity.

Please let me know if I should change something.


Jan Christoph

On Mon 27-04-2015 09:34 +0200, Roberto E. Vargas Caballero wrote:

> Applied (with minor changes), thanks.
Jan Christoph Ebersbach
I didn’t want some petty, inferior brand of righteousness that comes
from keeping a list of rules when I could get the robust kind that comes
from trusting Christ - God’s righteousness.  Phil 3:9

Received on Fri May 22 2015 - 16:06:57 CEST

This archive was generated by hypermail 2.3.0 : Fri May 22 2015 - 16:12:07 CEST