[luatex] unicode.utf8.format + unicode.utf8.len?

Philipp Gesang pgesang at ix.urz.uni-heidelberg.de
Fri Nov 26 16:06:30 CET 2010


On 2010-11-26 <15:46:24>, Taco Hoekwater wrote:
> On 11/26/2010 02:51 PM, Philipp Gesang wrote:
> >Hi Taco&  the Rest of the List,
> >
> >I’m sorry if this question sounds stupid, but I’m wondering for
> >what reason the ‘format()’ of slnunicode uses Lua’s string length
> >mechanism instead of ‘utf8_count()’?
> 
> Luatex is repackaging the existing selene unicode library:
> 
>   http://luaforge.net/projects/sln/
> 
> so can you please report the issue there? I am not eager
> to include local patches.

I understand. I just checked: according to the file ‘unitest’ the
issue seems to be known:

  --  TODO: use char count with %s in format? (sub does the job)

Does not appear to have top priority after all these years, but
anyways, there’s now a feature request on their tracker.

Philipp

> 
> Best wishes,
> Taco

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://tug.org/pipermail/luatex/attachments/20101126/4aefd3a0/attachment.bin>


More information about the luatex mailing list