detect LANG at compile time; insist that its encoding be utf8

A different approach to resolving the issue brought up in #169. This should work out-of-the-box in nearly all cases, including those when C.UTF-8 and en_US.UTF-8 are not present.