Class String
In: nkf/lib/kconv.rb
Parent: Object

Methods

iseuc   issjis   isutf8   kconv   toeuc   tojis   tosjis   toutf16   toutf8  

Public Instance methods

is Encoding

[Source]

# File nkf/lib/kconv.rb, line 215
  def iseuc
    Kconv.iseuc( self )
  end

[Source]

# File nkf/lib/kconv.rb, line 219
  def issjis
    Kconv.issjis( self )
  end

[Source]

# File nkf/lib/kconv.rb, line 223
  def isutf8
    Kconv.isutf8( self )
  end

[Source]

# File nkf/lib/kconv.rb, line 193
  def kconv(out_code, in_code=Kconv::AUTO)
    Kconv::kconv(self, out_code, in_code)
  end

[Source]

# File nkf/lib/kconv.rb, line 201
  def toeuc
    ::NKF::nkf('-e', self)
  end

to Encoding

[Source]

# File nkf/lib/kconv.rb, line 198
  def tojis
    ::NKF::nkf('-j', self)
  end

[Source]

# File nkf/lib/kconv.rb, line 204
  def tosjis
    ::NKF::nkf('-s', self)
  end

[Source]

# File nkf/lib/kconv.rb, line 210
  def toutf16
    ::NKF::nkf('-w16', self)
  end

[Source]

# File nkf/lib/kconv.rb, line 207
  def toutf8
    ::NKF::nkf('-w', self)
  end

[Validate]