Sha256: da6078cc4a25c20b0e79997e124242ee58d337768c214861bc4a2377e9b03c4f

Contents?: true

Size: 435 Bytes

Versions: 11

Compression:

Stored size: 435 Bytes

Contents

module Embulk
  module Guess

    class CharsetGuessPlugin < GuessPlugin
      Plugin.register_guess('charset', self)

      def guess(config, sample_buffer)
        Embulk.logger.warn(
            "Ruby-based CharsetGuess is no longer available. "
            + "It always returns \"UTF-8\" unconditionally. Use an appropriate guess plugin explicitly."
        return {"parser" => {"charset" => "UTF-8"}}
      end
    end

  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
embulk-0.11.5-java lib/embulk/guess/charset.rb
embulk-0.11.3-java lib/embulk/guess/charset.rb
embulk-0.11.2-java lib/embulk/guess/charset.rb
embulk-0.11.1-java lib/embulk/guess/charset.rb
embulk-0.11.0-java lib/embulk/guess/charset.rb
embulk-0.10.50-java lib/embulk/guess/charset.rb
embulk-0.10.49-java lib/embulk/guess/charset.rb
embulk-0.10.48-java lib/embulk/guess/charset.rb
embulk-0.10.47-java lib/embulk/guess/charset.rb
embulk-0.10.46-java lib/embulk/guess/charset.rb
embulk-0.10.45-java lib/embulk/guess/charset.rb