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
Turkish region setting [DNET166] #74
Comments
Modified by: art (art)Attachment: Help.txt [ 10920 ] |
Commented by: @cincuranet And how this relates to .NET provider? |
Commented by: art (art) Version 2.1.0 for .NET 2.0 and Version 2.5.0 Alpha 2 for .NET 3.5/2.0. |
Commented by: @cincuranet OK, what does creating upper case and lower case letters with FirebirdClient? The sample you've attached conotains no related code. |
Commented by: art (art) This code lines (line number: 125-142) from FbTableConstrains.cs file in FirebirdClient-2.5.0-Alpha2-src.7z code source. switch (parsed[6].ToString().ToUpper(CultureInfo.CurrentCulture))
} switch (parsed[6].ToString().ToUpper(CultureInfo.CurrentCulture)) "PRIMARY KEY" != "PRİMARY KEY" not I. İt's İ. But CultureInfo.CurrentCulture != CultureInfo.InvariantCulture This is OK. True code is below. switch (parsed[6].ToString().ToUpper(CultureInfo.InvariantCulture))
} CultureInfo.InvariantCulture is true in all languages. Examples: "alter domain" != "ALTER DOMAIN" (equal "ALTER DOMAİN") This is OK. Edited code is attached. |
Modified by: art (art)Attachment: NETProvider 2.1.0.rar [ 10921 ] |
Modified by: @cincuranetAttachment: Help.txt [ 10920 ] => |
Commented by: @cincuranet Finally some useful info. |
Modified by: @cincuranet |
Commented by: art (art) Please you reading below links. Find Turkish in the documents. http://msdn.microsoft.com/en-us/library/ms973919.aspx#stringsinnet20_topic5 To DDEX is ok. Below lines from FbDataObjectSupport.xml file.
This part is very important. I am changed <Part name="Catalog" itemName="domain_catalog"> itemName="domain_catalog" CurrentCulture.Upper(itemName) != "DOMAIN_CATALOG" in Turkish region set. Solution: Original line <Part name="Catalog" itemName="domain_catalog"> This method all times true. |
Commented by: art (art) True Turkish regional set DDEX file. |
Modified by: art (art)Attachment: FirebirdSql.VisualStudio.DataTools.dll [ 10930 ] |
Modified by: @cincuranetAttachment: FirebirdSql.VisualStudio.DataTools.dll [ 10930 ] => |
Commented by: @cincuranet Hello, it should be fixed now in SVN. Can you please grab sources and test it? |
Modified by: @cincuranetstatus: Open [ 1 ] => Resolved [ 5 ] resolution: Fixed [ 1 ] Fix Version: 2.5.0. Alpha 3 [ 10261 ] Fix Version: 2.5.0 [ 10170 ] |
Commented by: art (art) I have downloaded from SVN. But ı haven't got Entity Framework on my computer. I can't test it. |
Commented by: @cincuranet Just remove ENTITY_FRAMEWORK symbol. |
Commented by: art (art) Thanks. It is OK. I can tested Web App. But I can not test WinForm. Are you editing DDEX ? |
Commented by: @cincuranet No. |
Modified by: @cincuranetFix Version: 2.5.0 [ 10170 ] => |
Submitted by: art (art)
Relate to DNET167
Attachments:
NETProvider 2.1.0.rar
Dear Sir/Madam
I have been using Firebird 2.1 (Win32), Firebird .Net Data Provider, DDEX Provider for VS2005, VS2008 Team throgh WinXP SP3. I use Turkish Windows. Because of that some error has been while i try to change capital letters to little letters. For example in Turkish we have got capital i (İ) but in English there is no capital i and we also have got little ı (i without dot). Because of that we can't get the same results with Upper, Lower and Compare functions as in English. This situation is explained in helping files in MSDN.
Prelectorer TANIŞ Ali Rıza.
KS University / K.Maraş / TURKEY
mailto:alirizatanis@ksu.edu.tr
The text was updated successfully, but these errors were encountered: