Re: Unicode support in poke

2020-01-13 Thread Bruno Haible
Hi Tim, > > A simpler way to achieve the same thing is to include the gnulib module > > 'libunistring-optional'. It will use the system libunistring if it > > exists and is new enough, and otherwise compile the respective modules > > from source. > > Ah, I didn't know that, thanks. > > Don't tha

Re: Unicode support in poke

2020-01-13 Thread Tim Rühsen
Hi Bruno, On 1/13/20 12:01 PM, Bruno Haible wrote: > Hi Tim, > >> you could look at libidn2 as an example how to use system libunistring >> if there (or if new enough) and fallback to gnulib unistring. >> (BTW, libunistring is made of the gnulib unistring modules) >> >> It creates a separate dir

Re: Unicode support in poke

2020-01-13 Thread Bruno Haible
Hi Tim, > you could look at libidn2 as an example how to use system libunistring > if there (or if new enough) and fallback to gnulib unistring. > (BTW, libunistring is made of the gnulib unistring modules) > > It creates a separate dir / library for gnulib unistring functions, > *BUT* only uses

Re: Unicode support in poke

2020-01-13 Thread Tim Rühsen
Hi José, you could look at libidn2 as an example how to use system libunistring if there (or if new enough) and fallback to gnulib unistring. (BTW, libunistring is made of the gnulib unistring modules) It creates a separate dir / library for gnulib unistring functions, *BUT* only uses it when a s

Unicode support in poke

2020-01-13 Thread Bruno Haible
Hi José, Yesterday, you identified a set of functions from GNU libunistring that would be useful to use in GNU poke. Since you will need only a few such functions, which sums up to little code and only one big table, you can take the respective modules from gnulib - a regular use of gnulib-tool. A