-
-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Confused with the expected behavior regarding the capitalization of “ß” #51
Comments
Make sure boost.locale is compiled with ICU. conversion of ß to SS supported only in ICU backend |
Independently of the result I get by compiling on my machine, could you clarify the discrepancy between the documentation and the example in the code? |
Make it clear which output is from Boost.Locale and what is the expected behavior by changing the order. Also check for ICU support as only ICU is able to do that conversion. Closes boostorg#51
Make it clear which output is from Boost.Locale and what is the expected behavior by changing the order. Also check for ICU support as only ICU is able to do that conversion. Closes boostorg#51
I see the source of the confusion. The part "where ß is replaced with SS" refers to the correct, i.e. expected behavior. Fixing the example to read:
I hope that's easier to understand. |
Make it clear which output is from Boost.Locale and what is the expected behavior by changing the order. Also check for ICU support as only ICU is able to do that conversion. Closes boostorg#51
Make it clear which output is from Boost.Locale and what is the expected behavior by changing the order. Also check for ICU support as only ICU is able to do that conversion. Closes #51
This is much more clear, thanks. |
This example (https://www.boost.org/doc/libs/1_71_0/libs/locale/doc/html/conversions.html) indicates that the correct case for the word "grüßen" is as follow:
However, the wording used in the example
examples/conversions.cpp
seems to indicate that replacing ß by SS is incorrect when using uppercase :I tried running this example (note that I used Boost 1.71), and this is the result I get:
...and now I'm even more confused. What is the actual expected behavior for this case?
The text was updated successfully, but these errors were encountered: