- Subject: Re: slang: UTF-8 and strlen
- From: Eugene Epshteyn <eugene_epshteyn@xxxxxxxxx>
- Date: Sun, 11 May 2003 22:46:47 -0700 (PDT)
This makes perfect sense.
--Eugene
--- "John E. Davis" <davis@xxxxxxxxxxxxx> wrote:
> Hence, I propose the
> following for slang v2:
>
> strlen: returns the number of characters (not bytes!) in a string.
> Any combining characters will not be included in the sum.
>
> In addition, I propose two new functions:
>
> strbytelen: Returns the number of bytes in a string.
>
> strcharlen: Returns the number of chars in a string, counting the
> combining characters.
>
=====
---
Eugene Epshteyn
Eugene_Epshteyn@xxxxxxxxx
http://www.epshteyn.net
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2003 date index]
[2003 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]