VSCII
Alias(es) | x-viet-tcvn5712 [1] |
---|---|
Language(s) | Vietnamese, English |
Created by | TCVN/TC1 |
Standard | TCVN 5712:1993 |
Classification | 8-bit SBCS; Extended ASCII (VSCII-2/-3) |
VSCII (Vietnamese Standard Code for Information Interchange), also known as TCVN 5712,[2] ISO-IR-180,[3] .VN,[4] ABC[4] or simply the TCVN encodings,[4][5] 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).[2]
It should not be confused with the similarly-named unofficial VISCII encoding, which was sometimes used by overseas Vietnamese speakers.[4] VISCII was also intended to stand for Vietnamese Standard Code for Information Interchange, but is not related to VSCII.[6]
VSCII (TCVN) was used extensively in the north of Vietnam, while VNI was popular in the south.[4] 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,[7] 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.[8]
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.[2][3] 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[2] 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 |
Ỏ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ụ 1EE5 |
ừ 1EEB |
ử 1EED |
ữ 1EEF |
ứ 1EE9 |
ự 1EF1 |
ỳ 1EF3 |
ỷ 1EF7 |
ỹ 1EF9 |
ý | ỵ 1EF5 |
Ố 1ED0 |
References
- ^ Sivonen, Henri (2014-09-26). "Character encoding changes in m-c require c-c action". mozilla.dev.apps.thunderbird.
- ^ a b c d e "[news] TCVN 5712:1993 (VSCII) -- Vietnamese national standard". 1993-06-02. Archived from the original on 2017-01-11.
- ^ a b TCVN (1993). ISO-IR-180: Right-hand Part of the VSCII-2 Code Table (PDF). ITSCJ/IPSJ.
- ^ a b c d e Ngo, Hoc Dinh; Tran, TuBinh. "5. Why Having Vietnamese Charset (Character Set – Encoding) Conversion?". Some special functions of WinVNKey.
- ^ Nguyen, Minh T. "Vietnamese Conversions (Vietnet/VIQR, VNI, VPS, VISCII, VNU, TCVN, VietWare, unicode)".
- ^ Lunde, Ken (13 January 2009). "Chapter 1: CJKV Information Processing Overview (§ Are VISCII and VSCII identical? What about TCVN?)". CJKV Information Processing (2nd ed.). p. 17. ISBN 978-0-596-51447-1.
- ^ "Unicode & Vietnamese Legacy Character Encodings". Vietnamese Unicode FAQs.
- ^ "Unicode & Vietnamese Legacy Character Encodings". Vietnamese Unicode FAQs.
TCVN3 is not double-byte, but due to the nature of its encoding, capital letters (vowels) are mapped to a separate, capital font that is similar to the normal, lowercase one.
- ^ Lunde, Ken (13 January 2009). "Appendix L: Vietnamese Character Sets" (PDF). CJKV Information Processing (2nd ed.). ISBN 978-0-596-51447-1.