3 ms·
Global locales were a mistake in general, not just the encoding part. printf("%f", 4.2) should not magically output different strings depending on the environme
by account42 3y ago
Global locales were a mistake in general, not just the encoding part. printf("%f", 4.2) should not magically output different strings depending on the environment, that just causes more problems than it solves. Instead you should have to explicitly pass the local information (or relevant parts of it) to functions that you want to make locale-dependent.