22件ヒット
[1-22件を表示]
(0.084秒)
キーワード
-
cgi
/ session (11) - kconv (11)
検索結果
先頭2件
-
kconv (13.0)
-
日本語文字コードの変換を手軽に行うためのライブラリです。
...Kconv.tojis(string)
newstring = Kconv.toeuc(string)
newstring = Kconv.tosjis(string)
guessed_code = Kconv.guess(string)
//}
または
//emlist[][ruby]{
require 'kconv'
newstring = string.kconv(Kconv::JIS, Kconv::AUTO)
newstring = string.tojis
newstring = string.toeuc
newstring = string.tosjis
//}... -
cgi
/ session (7.0) -
CGI のセッション管理を行うライブラリ。
...mit" value="です。">
</p>
</form>
</body></html>
END
}
end
def cmd_hello
name = Kconv.toeuc(@cgi['name'].first)
@session['name'] = name # セッションに記憶
@cgi.out(@header) {...