What if the system preferred encoding is ASCII? I'd strongly consider explicitly setting to UTF-8 (unless that causes problems elsewhere). But if this works, it works. Meh.