pub enum TextEncoding {
Show 14 variants
Windows1250,
Windows1251,
Windows1252,
Windows1253,
Windows1254,
Windows1255,
Windows1256,
Windows1257,
Windows1258,
Windows874,
ShiftJis,
Gbk,
Big5,
EucKr,
}Expand description
Text encodings currently used by supported KotOR formats.
Variants§
Windows1250
Windows-1250 (Central/Eastern Europe).
Windows1251
Windows-1251 (Cyrillic).
Windows1252
Windows-1252 single-byte encoding used by TLK and many text payloads.
Windows1253
Windows-1253 (Greek).
Windows1254
Windows-1254 (Turkish).
Windows1255
Windows-1255 (Hebrew).
Windows1256
Windows-1256 (Arabic).
Windows1257
Windows-1257 (Baltic).
Windows1258
Windows-1258 (Vietnamese).
Windows874
Windows-874 (Thai).
ShiftJis
Shift-JIS (Japanese, cp932-compatible family).
Gbk
GBK (Simplified Chinese, cp936-compatible family).
Big5
Big5 (Traditional Chinese, cp950-compatible family).
EucKr
EUC-KR (Korean, cp949-compatible family).
Trait Implementations§
Source§impl Clone for TextEncoding
impl Clone for TextEncoding
Source§fn clone(&self) -> TextEncoding
fn clone(&self) -> TextEncoding
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TextEncoding
impl Debug for TextEncoding
Source§impl PartialEq for TextEncoding
impl PartialEq for TextEncoding
impl Copy for TextEncoding
impl Eq for TextEncoding
impl StructuralPartialEq for TextEncoding
Auto Trait Implementations§
impl Freeze for TextEncoding
impl RefUnwindSafe for TextEncoding
impl Send for TextEncoding
impl Sync for TextEncoding
impl Unpin for TextEncoding
impl UnwindSafe for TextEncoding
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more