るりまサーチ

最速Rubyリファレンスマニュアル検索!
22件ヒット [1-22件を表示] (0.084秒)

別のキーワード

  1. kconv toeuc
  2. string toeuc
  3. toeuc kconv
  4. toeuc string

キーワード

検索結果

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) {...