fixed bugs around char-int interconversion
fixed typo in width.precision processing conversion