3 ms·
> Locale.ROOT is almost always the one you want At least Android developers are advised to use Locale.US: https://developer.android.com/reference/java/util/Loc
by vesinisa 6y ago
> Locale.ROOT is almost always the one you want
At least Android developers are advised to use Locale.US: https://developer.android.com/reference/java/util/Locale https://developer.android.com/reference/java/util/Locale
> The default locale is not appropriate for machine-readable output. The best choice there is usually Locale.US – this locale is guaranteed to be available on all devices, and the fact that it has no surprising special cases and is frequently used
It would be indeed interesting to see in which features these two locales actually differ.