るりまサーチ

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

別のキーワード

  1. stringio set_encoding
  2. _builtin set_encoding
  3. _builtin encoding
  4. rss encoding
  5. rss encoding=

種類

ライブラリ

モジュール

キーワード

検索結果

NKF.#guess(str) -> Encoding (18220.0)

文字列 str の漢字コードを推測して返します。

...る値(すなわち、推測可能なエンコーディング)は以下のいずれかです。
* NKF::JIS
* NKF::EUC
* NKF::SJIS
* NKF::UNKNOWN
* NKF::UTF8
* NKF::UTF16
* Encoding::EUCJP_MS
* Encoding::CP51932
* Encoding::WINDOWS_31J

@param str 推測対象の文字列です。...

Kconv.#guess(str) -> Encoding | nil (18202.0)

文字列 str のエンコーディングを判定します。戻り値は Kconv の定数です。

文字列 str のエンコーディングを判定します。戻り値は
Kconv の定数です。

このモジュール関数で判定できるのは、
* ISO-2022-JP (Kconv::JIS)
* Shift_JIS (Kconv::SJIS)
* EUC-JP (Kconv::EUC)
* ASCII (Kconv::ASCII)
* UTF-8 (Kconv::UTF8)
* UTF-16BE (Kconv::UTF16)
* 不明 (Kconv::UNKNOWN)
* 以上のどれでもない (Kconv::BINARY)
のいずれかです。

@param str エンコー...

Kconv::BINARY -> Encoding (117.0)

JIS EUC SJIS 以外を表します。 この値はKconv.#guessの返り値としてのみ用いられます。

...JIS EUC SJIS 以外を表します。
この値はKconv.#guessの返り値としてのみ用いられます。...

CSV (66.0)

このクラスは CSV ファイルやデータに対する完全なインターフェイスを提供します。

...parser works in the Encoding of the IO
or String object being read from or written to. Your data is never transcoded
(unless you ask Ruby to transcode it for you) and will literally be parsed in
the Encoding it is in. Thus CSV will return Arrays or Rows of Strings in the
Encoding
of your data. Th...
...is is accomplished by transcoding the parser itself
into your Encoding.

Some transcoding must take place, of course, to accomplish this multiencoding
support. For example, <tt>:col_sep</tt>, <tt>:row_sep</tt>, and
<tt>:quote_char</tt> must be transcoded to match your data. Hopefully this
makes th...
...he Encoding.

One minor exception comes when generating CSV into a String with an Encoding
that is not ASCII compatible. There's no existing data for CSV to use to
prepare itself and thus you will probably need to manually specify the desired
Encoding
for most of those cases. It will try to guess...

ruby 1.8.2 feature (36.0)

ruby 1.8.2 feature ruby 1.8.2 での ruby 1.8.1 からの変更点です。

...04
: NKF.guess [lib] [compat]
NKF.guess は NKF.guess2 の alias になりました。 従来のものを使いたい場合は
NKF.guess1 を使って下さい。

=== 2004-11-20
: ext/nkf/nkf-utf8/ [lib] [new]
utf8 対応 nkf (nkf 2.x) の追加。

: kconv [lib] [new]
: Kconv.guess_old(str)...
...ようになりました。((<ruby-dev:24528>))

=== 2004-10-18

: WEBrick::HTTPRequest [lib] [new]
new methods. accept, accept_charset, accept_encoding, accept_language,
content_length and content_type.

: WEBrick::HTTPResponse#content_length= [lib] [new]
: WEBrick::HTTPResponse#content_type=...

絞り込み条件を変える