fixes a bug when the application is compiled as unicode and use for example a german locale
then the scanf tries to read a float with a "," as seperator, but this fails
because the seperator is a "."
Why do you guard the sscanf part with the ANDROID_PLATFORM macro? On android we also have STL.