You need to change representation of Date and Double as Strings in Windows.jb_coder wrote:Do I need to change my OS to use Russian or Ukrainian or just the data that's saved in the database? I'm assuming that I'll need to compile wxWindows and DatabaseLayer with UNICODE as well.
Description.
ODBC implementation uses Strings in between. In Russian or Ukrainian locales in double fraction separates by comma and date format dd/mm/yyyy. Some time in different configurations of locales I had: lost double fractions, month instead day and vise/vesa.
Solution
So, I wrote code for normal handling this data types, without strings in between. This checked on Windows XP, UNICODE build against SQLServer 2000, SQLServer 2005, PostgreSQL ODBC, PostgreSQL ODBC UNICODE, SQLAnywhere 12.