On Mon, 9 Feb 2004, Jean Br=E9fort wrote: > I do not believe this is a good idea. Generally, programs save and load > files in C locale, at least for numerical data. So there is no > compatibility problem. Here is how it works : Ok, which ever way is the standard one. Sure it seems to make most sense to save the files using standard "C" locale, and always temporarily switch into "C" locale to read them in, as you showed. I just remembered the Excel spreadsheet as an example that does the exact opposite ; if I read a text file in Excel with data 1.234 it will be treated as a string, not as a number (it still works that way, I just checked). Ok, perhaps one remebers more easily the bad implementations that do not work, rather than the good ones that do work without a hitch! := ) Ok, I'll try to switch the file operations inside "C" locale temporarily, I think that is the most simple way. Regards, =09Tommi