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
cppyy.gbl.std.string representation changed in ROOT master #15153
Comments
Intentional. An Specifically, b/c unicode isn't properly implemented in any C++ standard string class, it's common practice to place an encoded unicode string into The implementation of For CERN, none of this is likely to matter as all European languages are encodable UTF-8 AFAIK. The most common language, in my experience, where this assumption fails is Chinese. (Edit: I read up on it and turns out that all languages are encodable in UTF-8, it's just that that encoding is designed to be space-efficient for Latin languages, but is rather inefficient for Asian languages, hence the common choice of different encodings there.) |
Yes, thank you @wlav for a very detailed explanation. I think it may be good to mention this in release notes and maybe even include a link to the explanation here. |
Aside, another difference is that an |
What is somewhat confusing here (ROOT master from Saturday) is that one sees
Gives
So at least some printout messages in existing code are confusing me. As you, @wlav , write as well, |
Similar goes for e.g. |
Closes root-project#15153, as confirmed in this comment: root-project#15153 (comment)
Closes root-project#15153, as confirmed in this comment: root-project#15153 (comment)
Closes root-project#15153, as confirmed in this comment: root-project#15153 (comment)
Closes #15153, as confirmed in this comment: #15153 (comment)
Closes root-project#15153, as confirmed in this comment: root-project#15153 (comment)
Closes #15153, as confirmed in this comment: #15153 (comment)
Closes root-project#15153, as confirmed in this comment: root-project#15153 (comment)
Fixed in "not applicable" because this was a clarification request and not a bug. |
Check duplicate issues.
Description
repr() of cppyy.gbl.std.string objects now comes with a "b" prefix
Reproducer
ROOT version
ROOT 6.31/01 (master)
Installation method
dev3
Operating system
Alma9
Additional context
Is this a bug or intentional?
The text was updated successfully, but these errors were encountered: