bug-libunistring
[Top][All Lists]
Advanced

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

[bug-libunistring] BUG: u8_ct_totitle seems to ignore prefix context


From: Aki Tuomi
Subject: [bug-libunistring] BUG: u8_ct_totitle seems to ignore prefix context
Date: Fri, 23 Dec 2022 11:05:33 +0200 (EET)

Hi!

I was trying to use u8_ct_totitle to do streaming title casing, but I ran into 
issue that this function does not actually consider prefix context when doing 
title casing.

Please see attached example. The input file is 
https://unicode.org/udhr/d/udhr_fra.txt

Steps to reproduce:

Compile & run the program with the input file

Expected results:

Déclaration Universelle Des Droits De L’homme

Actual results:

DÉclaration Universelle Des DroiTs De L’homm

Can you please look into this?

Kind regards,
Aki Tuomi

Attachment: stream-title.c
Description: Text Data


reply via email to

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