bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: case-mapping part of a Unicode string


From: Paolo Bonzini
Subject: Re: case-mapping part of a Unicode string
Date: Tue, 30 Jun 2009 08:12:01 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Thunderbird/3.0b2

On 06/30/2009 12:43 AM, Bruno Haible wrote:
About the<unicase.h>  functions, Paolo Bonzini wrote in
<http://lists.gnu.org/archive/html/bug-libunistring/2009-04/msg00001.html>:
It seems to me that there is a limitation, in that you cannot turn to
lowercase/uppercase/titlecase parts of a string; for that you have to
use uc_toupper/lower/title and forget about the locale-specific mappings.

This resolves this limitation. I'm adding functions to case-convert part
of a string, within the context of the entire string. The main change is
below. For the documentation, please look in libunistring:
<http://git.savannah.gnu.org/gitweb/?p=libunistring.git;a=commitdiff;h=116c15a81610cdeab05883d1a8e5149c1964ab20#patch5>

Can you show an example of case converting the 3rd, 6th and 7th character of a string?

Thanks!

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]