First segfault seems to be fixed, but the SJIS is getting mangled by something