Enum lcid::AnsiCodePage[][src]

#[repr(u32)]
pub enum AnsiCodePage {
Show variants Windows874, ShiftJIS, GB2312, KsC5601, Big5, Windows1250, Windows1251, Windows1252, Windows1253, Windows1254, Windows1255, Windows1256, Windows1257, Windows1258,
}
Expand description

A known ANSI code page. Some languages can be encoded using one of these code pages. This enum has a u32 representation, and so can be converted to the numeric code page value if needed.

Variants

Windows874

windows-874, Thai (Windows)

ShiftJIS

shift_jis, ANSI/OEM Japanese; Japanese (Shift-JIS)

GB2312

gb2312, ANSI/OEM Simplified Chinese (PRC, Singapore); Chinese Simplified (GB2312)

KsC5601

ks_c_5601-1987, ANSI/OEM Korean (Unified Hangul Code)

Big5

big5, ANSI/OEM Traditional Chinese (Taiwan; Hong Kong SAR, PRC); Chinese Traditional (Big5)

Windows1250

windows-1250, ANSI Central European; Central European (Windows)

Windows1251

windows-1251, ANSI Cyrillic; Cyrillic (Windows)

Windows1252

windows-1252, ANSI Latin 1; Western European (Windows)

Windows1253

windows-1253, ANSI Greek; Greek (Windows)

Windows1254

windows-1254, ANSI Turkish; Turkish (Windows)

Windows1255

windows-1255, ANSI Hebrew; Hebrew (Windows)

Windows1256

windows-1256, ANSI Arabic; Arabic (Windows)

Windows1257

windows-1257, ANSI Baltic; Baltic (Windows)

Windows1258

windows-1258, ANSI/OEM Vietnamese; Vietnamese (Windows)

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.