Struct encoding::codec::japanese::EUCJPEncodingUnstable [-]  [+] [src]

pub struct EUCJPEncoding;

EUC-JP. (XXX with asymmetric JIS X 0212 support)

This is a Japanese encoding created from three JIS character sets:

EUC-JP contains the lower half of JIS X 0201 in G0 ([21-7E]), JIS X 0208 in G1 ([A1-FE] [A1-FE]), the upper half of JIS X 0212 in G2 (8E [A1-DF]), and JIS X 0212 in G3 (8F [A1-FE] [A1-FE]).

Trait Implementations

impl Encoding for EUCJPEncoding

fn name(&self) -> &'static str

fn whatwg_name(&self) -> Option<&'static str>

fn encoder(&self) -> Box<Encoder>

fn decoder(&self) -> Box<Decoder>

fn encode(&self, input: &str, trap: EncoderTrap) -> Result<Vec<u8>, SendStr>

fn decode(&self, input: &[u8], trap: DecoderTrap) -> Result<String, SendStr>

Derived Implementations

impl Clone for EUCJPEncoding

fn clone(&self) -> EUCJPEncoding

fn clone_from(&mut self, source: &Self)