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
strings: document difference of ToTitle, ToUpper, Title #33302
Comments
Perhaps adding a reference to the unicode documentation on
Source: https://unicode.org/faq/casemap_charprop.html
|
I'm not sure we need to change anything here, but I think that at most we should add a link to some Unicode docs. I don't think our docs need to explain title case when it is clearly explained elsewhere. |
Would something along the lines of this make sense?
Additionally, I think it might be helpful to include an example in the strings package showing Perhaps something along the lines of:
|
Change https://golang.org/cl/187825 mentions this issue: |
Does this issue reproduce with the latest release?
ToTitle
Title
So what are the definitions of
upper case
andtitle case
in golang? the description in godocs is confusing. Could you please specify the differences?The examples used in
golang.org/pkg/
speaks nothing. all of them produces the same results no matter which func is used.What operating system and processor architecture are you using (
go env
)?go env
OutputThe text was updated successfully, but these errors were encountered: