Re: [dev] [sbase][patch] remove libutf from test.c

2015-02-20 Thread Dimitris Papastamos
On Fri, Feb 20, 2015 at 11:24:30AM -0800, Evan Gates wrote: > Noticed test was marked as 'UTF-8 support' instead of 'implicit UTF-8 > support' in README. utflen() was being used to check for zero length > vs nonzero length strings. No need for that, a null byte is a null > byte, just check whether

[dev] [sbase][patch] remove libutf from test.c

2015-02-20 Thread Evan Gates
Noticed test was marked as 'UTF-8 support' instead of 'implicit UTF-8 support' in README. utflen() was being used to check for zero length vs nonzero length strings. No need for that, a null byte is a null byte, just check whether the first byte is null or not. -emg From ebf480d8b31027f72860132f30