Boost C++ Libraries: Ticket #6972: Boost.Locale doesn't provide sufficient control over collation https://svn.boost.org/trac10/ticket/6972 <p> I have just started using boost Locale and it is a great addition to the boost library. However, the collation level options do not give a fine enough control. From the ICU documentation: "In some cases, punctuation can be ignored while searching or sorting data...In other cases, it is desirable for punctuated text to be distinguished from text without punctuation." (This appears to be controlled by the Alternate attribute.) </p> <p> However, boost Locale seems to always assume that punctuation can be ignored when you are also ignoring case. In particular, I find at the secondary level that "SINWAVE" is considered equal to "sin_wave" (compare returns 0) when this is not what I (and very likely others) require. </p> <p> The first two levels (primary and secondary) really need options to not ignore punctuation and whitespace. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6972 Trac 1.4.3