charset: fixed bug that prevented ISO-5426 conversion