Well wait untill you must write programs for the Netherlands , where the
decimal seperator is a ',' but every person is using a US keyboard if you
then have to write data entry applications on numeric fields you get the
funny situation that a "." is entered by the user when he actually expects a
"," although he hitted the "." key on the numeric pad , and this is in the
Netherlands wrong , when we did some investigation we noticed that all MS
products ( calculator , office etc etc ) simply check the settings and if
needed change the "." to a "," so on the fly we simply change the numeric
"." to a "," when pressed
You could do the same thing i guess when your program exports data just
change the lisseperator to another value if it is a "," however this will
not solve the issue when a user wants to import a file with "," seperated
columns and numeric fractional digits
HTH
Michel
"Jack Russell" <
[email protected]> schreef in bericht
Michel,
Trouble is the client does not want to change the software just for this
instance. It seems strange to me that "Spanish America" has these
contradictory settings.
So, the client wants me to warn if the settings conflict and let the end
user sort it out!
However thanks for your suggestions, if I ever do another project like
this I will take them on board.
Jack
Michel Posseth [MCP] wrote:
when i went international with programming , a long long time ago when
..Net was not yet invented
i choose Tab (blabla blabla) delimited or pipe (blabla|blabla )
delimited formats
for these situations 1,2,3 was it 1.23 or 12.3 or 1 and 2.3 or 1.2
and 3 etc etc etc is simply no solution if you can`t enforce / asume
region / culture settings
so you should write deliver your data in a global way , ever thought
about a lightweight database ? ( sql server everywhere for instance )
regards
Michel
"Jack Russell" <
[email protected]> schreef in bericht
I use comma delimited strings in data files.
If I set my computer region/ culture to Spanish / Argentina the decimal
character and the list separator are both set to "'" (comma.
This makes decoding the strings almost impossible in certain cases.
Anyone know if this is really rue for that locale or is it an XP bug.
Where would be the right forum to get an answer to this.
Thanks
Jack Russell