Setting locale to C messes up japanese input (doh)