Wednesday, October 18, 2006

The Agency: Bug discovered with non-US English setting in Windows

Several users of non-US English versions of Windows have reported seeing the error java.lang.NumberFormatException: For input string. "some number with a comma."

The problem is that most other locales use a comma where we use a period in decimal notation. As a result, when we create the save file using local formatting, our numbers get written incorrectly (our mistake). We have corrected this bug for our next release.

If you encounter this problem and you really want to get one of your files back, simply open up the file in a text editor and replace the comma in the number with a period. For example, change 1,0200 to 1.0200. Of course, that can be a pain if you edit the file frequently or there are many numbers that need to be modified. Hopefully we will be releasing Preview 4 some time this fall that will include this fix among others.

Labels:

0 Comments:

Post a Comment

<< Home