rc: handle 4-byte utf-8

R=rsc
http://codereview.appspot.com/3833043
3 files changed