VSCII
In-game article clicks load inline without leaving the challenge.
VSCII (Vietnamese Standard Code for Information Interchange), also known as TCVN 5712, ISO-IR-180, .VN, ABC or simply the TCVN encodings, is a set of three closely related Vietnamese national standard character encodings for using the Vietnamese language with computers, developed by the TCVN Technical Committee on Information Technology (TCVN/TC1) and first adopted in 1993 (as TCVN 5712:1993).
It should not be confused with the similarly-named unofficial VISCII encoding, which was sometimes used by overseas Vietnamese speakers. VISCII was also intended to stand for Vietnamese Standard Code for Information Interchange, but is not related to VSCII.
VSCII (TCVN) was used extensively in the north of Vietnam, while VNI was popular in the south. Unicode and the Windows-1258 code page are now used for virtually all Vietnamese computer data,[citation needed] but legacy files or archived messages may need conversion.
Encodings
All three forms of VSCII keep the 95 printable characters of ASCII unmodified.
VSCII-3, also known as TCVN 5712-3, VN3 or simply TCVN3, includes the fewest assignments. It is an extended ASCII, because it keeps all 128 codes of ASCII unmodified. It does not reassign any of the C0 and C1 control codes. Compared to ASCII, it adds 75 characters:
- 67 lowercase characters, allowing full lowercase support.
- 7 uppercase characters, allowing uppercase support for the 29 base letters without tone marks.
- The non-breaking space.
Tone marks on uppercase vowels is accomplished in TCVN3 by switching to an all-capital font.
VSCII-2, also known as TCVN 5712-2 and VN2, is a superset of VSCII-3. It is an extended ASCII, because it keeps all 128 codes of ASCII unmodified. It does not reassign any of the C0 and C1 control codes, making it conformant with ISO 2022 as a 96-set. Compared to VSCII-3, it adds (for a total of 96 non-ASCII characters):
- 16 more uppercase characters with pre-composed tone marks (for a total of 23 non-ASCII uppercase characters)
- 5 combining diacritics for tone marks, allowing other combinations of uppercase letters and tone marks to be represented. Combining marks follow the base letter as in VNI (rather than preceding them as in ANSEL).
VSCII-1, also known as TCVN 5712-1 and VN1, is an extension of VSCII-2, and is a modified ASCII, since it replaces 12 of the 33 control characters with precomposed characters. Compared to VSCII-2, it (for a total of 140 non-ASCII characters):
- Adds 44 more pre-composed uppercase letters, bringing them to the same count as the lowercase
- Does this by replacing 12 ASCII control characters and allocating 32 graphical characters to the C1 control area, breaking ISO 2022 compatibility
Conversion from VSCII-3 to VSCII-2 or VSCII-1 and conversion from VSCII-2 to VSCII-1 are not necessary, but can result in smaller files.
Conversion from VSCII-1 to VSCII-2 or VSCII-3 and conversion from VSCII-2 to VSCII-3 require expansion of some pre-composed characters.
Character set
| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | A | B | C | D | E | F | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x | NUL | Ú00DA | Ụ1EE4 | ETX | Ừ1EEA | Ử1EEC | Ữ1EEE | BEL | BS | HT | LF | VT | FF | CR | SO | SI |
| 1x | DLE | Ứ1EE8 | Ự1EF0 | Ỳ1EF2 | Ỷ1EF6 | Ỹ1EF8 | Ý00DD | Ỵ1EF4 | CAN | EM | SUB | ESC | FS | GS | RS | US |
| 2x | SP | ! | " | # | $ | % | & | ' | ( | ) | * | + | , | - | . | / |
| 3x | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | : | ; | < | = | > | ? |
| 4x | @ | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O |
| 5x | P | Q | R | S | T | U | V | W | X | Y | Z | [ | \ | ] | ^ | _ |
| 6x | ` | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o |
| 7x | p | q | r | s | t | u | v | w | x | y | z | { | | | } | ~ | DEL |
| 8x | À00C0 | Ả1EA2 | Ã00C3 | Á00C1 | Ạ1EA0 | Ặ1EB6 | Ậ1EAC | È00C8 | Ẻ1EBA | Ẽ1EBC | É00C9 | Ẹ1EB8 | Ệ1EC6 | Ì00CC | Ỉ1EC8 | Ĩ0128 |
| 9x | Í00CD | Ị1ECA | Ò00D2 | Ỏ1ECE | Õ00D5 | Ó00D3 | Ọ1ECC | Ộ1ED8 | Ờ1EDC | Ở1EDE | Ỡ1EE0 | Ớ1EDA | Ợ1EE2 | Ù00D9 | Ủ1EE6 | Ũ0168 |
| Ax | NBSP | Ă0102 | Â00C2 | Ê00CA | Ô00D4 | Ơ01A0 | Ư01AF | Đ0110 | ă0103 | â00E2 | ê00EA | ô00F4 | ơ01A1 | ư01B0 | đ0111 | Ằ1EB0 |
| Bx | ◌̀0300 | ◌̉0309 | ◌̃0303 | ◌́0301 | ◌̣0323 | à00E0 | ả1EA3 | ã00E3 | á00E1 | ạ1EA1 | Ẳ1EB2 | ằ1EB1 | ẳ1EB3 | ẵ1EB5 | ắ1EAF | Ẵ1EB4 |
| Cx | Ắ1EAE | Ầ1EA6 | Ẩ1EA8 | Ẫ1EAA | Ấ1EA4 | Ề1EC0 | ặ1EB7 | ầ1EA7 | ẩ1EA9 | ẫ1EAB | ấ1EA5 | ậ1EAD | è00E8 | Ể1EC2 | ẻ1EBB | ẽ1EBD |
| Dx | é00E9 | ẹ1EB9 | ề1EC1 | ể1EC3 | ễ1EC5 | ế1EBF | ệ1EC7 | ì00EC | ỉ1EC9 | Ễ1EC4 | Ế1EBE | Ồ1ED2 | ĩ0129 | í00ED | ị1ECB | ò00F2 |
| Ex | Ổ1ED4 | ỏ1ECF | õ00F5 | ó00F3 | ọ1ECD | ồ1ED3 | ổ1ED5 | ỗ1ED7 | ố1ED1 | ộ1ED9 | ờ1EDD | ở1EDF | ỡ1EE1 | ớ1EDB | ợ1EE3 | ù00F9 |
| Fx | Ỗ1ED6 | ủ1EE7 | ũ0169 | ú00FA | ụ1EE5 | ừ1EEB | ử1EED | ữ1EEF | ứ1EE9 | ự1EF1 | ỳ1EF3 | ỷ1EF7 | ỹ1EF9 | ý | ỵ1EF5 | Ố1ED0 |