com.caucho.quercus.lib.i18n
Class Utf8Encoder

java.lang.Object
  extended by com.caucho.quercus.lib.i18n.Encoder
      extended by com.caucho.quercus.lib.i18n.Utf8Encoder

public class Utf8Encoder
extends Encoder


Field Summary
 
Fields inherited from class com.caucho.quercus.lib.i18n.Encoder
_charset, _isIgnore, _isReplaceUnicode, _replacement, ERROR_CHARACTER
 
Constructor Summary
Utf8Encoder()
           
 
Method Summary
 StringValue encode(Env env, java.lang.CharSequence str)
           
 boolean isEncodable(Env env, StringValue str)
           
 boolean isUtf8()
           
 
Methods inherited from class com.caucho.quercus.lib.i18n.Encoder
create, encode, isIgnore, reset, setIgnoreErrors, setReplacement, setReplaceUnicode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utf8Encoder

public Utf8Encoder()
Method Detail

isUtf8

public boolean isUtf8()
Overrides:
isUtf8 in class Encoder

isEncodable

public boolean isEncodable(Env env,
                           StringValue str)
Specified by:
isEncodable in class Encoder

encode

public StringValue encode(Env env,
                          java.lang.CharSequence str)
Specified by:
encode in class Encoder