Question Regional Settings Confusion!

raysefo

Well-known member
Joined
Jul 21, 2010
Messages
207
Programming Experience
Beginner
Hi,

I m little bit confused! I m using multi-language support for my web application. (when user selects Turkish, all writings changes into Turkish and when english is selected, all writings change into english.) The thing is , when regional settings are for Turkey, all data (number decimal point and datetime) seem like Turkish. But on the other hand, when i change regional settings to English, all data in DB seems OK for english. Is this OK? I mean, will this be a problem?
 
Number and date format is a display issue only. In a computer, numbers and dates are stored in binary form, so there's no thousand separators or decimal points or month before day or day before month. There's just binary numbers. It's only when you come to display the data at the UI that format becomes an issue. When you display a number or date as a string, then you have to worry about how to format it. The database doesn't know or care about any of that. It stores binary data.
 
Back
Top