Submitted by OBATA Akio. Thanks! Changes: * SJIS bound check is not properly confirmed. * output default code is not properly defined.