Click here to Skip to main content
15,036,737 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
We are having an issue related to localization while comparing the strings in the code behind. Below is the scenario.

‘dr’ is a data-row having column name defined in upper case [“NO_OF_CHECKLIST_ITEMS”] Current Culture = “tr-TR”

Now, it is creating problem while accessing the column using below code when in Turkish culture. It is because in Turkish culture the “i” is different. However, it is working in en-US. dr["No_Of_CheckList_Items"]

This will get solved, when used with upper case. But my question is, is there any other efficient way to handle such issues.
Posted
Comments
   
Please explain the steps to reproduce, step by step. So far, it's not clear what is the issue.
—SA
Richard MacCutchan 30-Apr-14 10:19am
   
You need to ensure that all your strings contain the same letter İ and i or I and ı. Note that the upper and lower case (in Turkish) do not match the 'normal' ASCII set.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900