#!/usr/bin/env ruby # coding: euc-jp require 'cgi' c = CGI.new(:accept_charset => "EUC-JP") print "Content-type: text/html; charset=EUC-JP\n\n" name = c["namae"] bt = c["blood"] print "
#{name}さんは#{bt.upcase}型ですね!