>>989
早速、ありがとうございます。
こちらでも、ちょっと調べてみたら
unsigned int a;
read(0,&a,1);
とした結果がasciiコード(euc-jp?)のようでした。
もう少しよく調べてみます。