#!/usr/bin/env ruby19 # coding: utf-8 print <<_EOF_ Content-Type: text/html; charset=utf-8 <html> <head><title>Test CGI script</title></head> <body> <p>日本語出力のテスト</p> </body> </html> _EOF_