Details

    • Sprint:

      Description

      ValidateColumn() fails in Turkish environement because of Turkish-I problem.

      -----------------------------------------------------------
      TURKISH-I PROBLEM: From Microsoft's site:

      For nearly all Latin alphabets, including U.S. English, the character i (\u0069) is the lowercase version of the character I (\u0049). This casing rule quickly becomes the default for someone programming in such a culture. However, in Turkish ("tr-TR"), there exists a capital "i with a dot," character (\u0130), which is the capital version of i. Similarly, in Turkish, there is a lowercase "i without a dot," or (\u0131), which capitalizes to I. This behavior occurs in the Azeri culture ("az") as well.

      Link: http://msdn.microsoft.com/en-us/library/ms973919.aspx#stringsinnet20_topic5

      ------------------------------------------------------------
      LOCATION OF THE BUG:

      Original line in Mapping\Table.cs:

      bool typesMatch = column.GetSqlType(dialect, mapping).ToLower().StartsWith(columnInfo.TypeName.ToLower());

      Correct line should be like below:

      bool typesMatch = column.GetSqlType(dialect, mapping).ToLowerInvariant().StartsWith(columnInfo.TypeName.ToLowerInvariant());

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                nime N
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Who's Looking?