HaruDoc::setCurrentEncoder

(PECL haru >= 0.0.1)

HaruDoc::setCurrentEncoderSet the current encoder for the document

说锟斤拷

HaruDoc::setCurrentEncoder ( string $encoding ) : bool

Defines the encoder currently used in the document.

锟斤拷锟斤拷

encoding

The name of the encoding to use. See Builtin Encodings for the list of allowed values.

锟斤拷锟斤拷值

Returns TRUE on success.

锟斤拷锟斤拷锟届常

锟斤拷锟斤拷锟斤拷锟斤拷时锟阶筹拷 HaruException 锟届常锟斤拷