Skip to content
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

Compat work for Globalization #17694

Closed
danmoseley opened this issue Jun 23, 2016 · 5 comments
Closed

Compat work for Globalization #17694

danmoseley opened this issue Jun 23, 2016 · 5 comments
Assignees
Milestone

Comments

@danmoseley
Copy link
Member

Most interesting from usage point of view are:

M:System.Globalization.TextInfo.get_OEMCodePage
M:System.Globalization.CultureInfo.CreateSpecificCulture(System.String)
M:System.Globalization.TextInfo.ToTitleCase(System.String)
M:System.Globalization.CultureInfo.GetCultureInfo(System.String)
M:System.Globalization.CultureInfo.get_InstalledUICulture
M:System.Globalization.CultureInfo.#ctor(System.String,System.Boolean)
M:System.Globalization.CompareInfo.GetSortKey(System.String)

Fuller list, including many with little usage in our corpora:

types removed

T:System.Globalization.CalendarAlgorithmType
T:System.Globalization.CultureTypes
T:System.Globalization.DaylightTime
T:System.Globalization.DigitShapes
T:System.Globalization.SortKey
T:System.Globalization.SortVersion


types with changes to members

System.Globalization.Calendar
System.Globalization.CalendarAlgorithmType
System.Globalization.CharUnicodeInfo
System.Globalization.ChineseLunisolarCalendar
System.Globalization.CompareInfo
System.Globalization.CultureInfo
System.Globalization.CultureNotFoundException
System.Globalization.CultureTypes
System.Globalization.DateTimeFormatInfo
System.Globalization.DaylightTime
System.Globalization.DigitShapes
System.Globalization.EastAsianLunisolarCalendar
System.Globalization.GregorianCalendar
System.Globalization.HebrewCalendar
System.Globalization.HijriCalendar
System.Globalization.JapaneseCalendar
System.Globalization.JapaneseLunisolarCalendar
System.Globalization.JulianCalendar
System.Globalization.KoreanCalendar
System.Globalization.KoreanLunisolarCalendar
System.Globalization.NumberFormatInfo
System.Globalization.PersianCalendar
System.Globalization.RegionInfo
System.Globalization.SortKey
System.Globalization.SortVersion
System.Globalization.StringInfo
System.Globalization.TaiwanCalendar
System.Globalization.TaiwanLunisolarCalendar
System.Globalization.TextInfo
System.Globalization.ThaiBuddhistCalendar
System.Globalization.UmAlQuraCalendar
@gulbanana
Copy link

string.ToLower(CultureInfo)?

@tarekgh
Copy link
Member

tarekgh commented Jul 14, 2016

@tarekgh tarekgh closed this as completed Jul 14, 2016
@tugberkugurlu
Copy link

@tarekgh is ToTitleCase in today? I cannot find it even if docs are saying that it is there: https://docs.microsoft.com/en-us/dotnet/core/api/system.globalization.textinfo#System_Globalization_TextInfo_ToTitleCase_System_String_

@tarekgh
Copy link
Member

tarekgh commented Oct 2, 2016

@tugberkugurlu yes it is there. you need to reference the latest version of System.Runtime (something like 4.3.0-preview1-24530-04).

here is the listing of the API as part of System.Runtime:
https://github.com/dotnet/corefx/blob/master/src/System.Runtime/ref/System.Runtime.cs#L4027

please note that the implementation is currently supported on Windows and we are going to support it on Linux very soon. tracked by the issue dotnet/corefx#11616

let me know if you have any further questions

@tugberkugurlu
Copy link

@tarekgh thanks, helpful to know and I will watch dotnet/corefx#11616. I guess it's still no use to me ATM because I need it to run outside of Windows (Mac and Linux) and it's still not on nuget.org 😞

@msftgits msftgits transferred this issue from dotnet/corefx Jan 31, 2020
@msftgits msftgits added this to the 2.0.0 milestone Jan 31, 2020
@dotnet dotnet locked as resolved and limited conversation to collaborators Dec 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants