Shift-JIS

Shift-JIS

Shift-JIS (SJIS) est un codage de caractères pour la langue japonaise, développé par Microsoft. Comme son nom l'indique, il est basé sur l'encodage ISO-2022-JP (JIS), mais avec un nombre plus importants d'octets permettant l'utilisation de 64 katakana entre les codes hexadécimal 0xA0 et 0xDF.

Au contraire de JIS, Shift-JIS nécessite un médium de 8 bits pour la transmission. Cependant, face au format 8 bits EUC, Shift-JIS garantit uniquement que le premier octet sera le plus haut du code ASCII ; la valeur du second octet peut alors être quelconque. Ceci rend difficile une détection sûre de ce codage.

Pour un code JIS de deux octets j1j2, la transformation vers le code Shift-JIS correspondants s1s2 est :

33 \le j_1 \le 96 \Rightarrow s_1 = \frac{j_1 + 1}{2} + 112
97 \le j_1 \le 126 \Rightarrow s_1 = \frac{j_1 + 1}{2} + 176
j_1 \mbox{ est impair } \Rightarrow s_2 = j_2 + 31 + \operatorname{trunc}\left( \frac{j_2}{95} \right)
j_1 \mbox{ est pair} \Rightarrow s_2 = j_2 + 126

Shift-JIS est utilisé essentiellement dans les pages Web japonaises, mais, généralement, les formats ISO-2022-JP et Unicode (et plus particulièrement dans sa représentation UTF-8) sont préférables[réf. nécessaire].

Voir aussi

Liens internes

Liens externes

Nuvola apps package wordprocessing.png Codés sur 8 bits Autres Articles connexes Codage des caractères, Clavier d’ordinateur, Police numérique, Glyphe, Portail:Écriture

Wikimedia Foundation. 2010.

Contenu soumis à la licence CC-BY-SA. Source : Article Shift-JIS de Wikipédia en français (auteurs)

Игры ⚽ Нужно сделать НИР?

Regardez d'autres dictionnaires:

  • Shift JIS — (also SJIS, MIME name Shift JIS) is a character encoding for the Japanese language originally developed by a Japanese company called ASCII Corporation in conjunction with Microsoft and standardized as JIS X 0208 Appendix 1. It is based on… …   Wikipedia

  • Shift-jis — (SJIS) est un codage de caractères pour la langue japonaise, développé par Microsoft. Comme son nom l indique, il est basé sur l encodage ISO 2022 JP (JIS), mais avec un nombre plus importants d octets permettant l utilisation de 64 katakana… …   Wikipédia en Français

  • Shift JIS — (также MS Kanji, MIME Shift JIS) кодировка для японского языка, описана в приложении 1 стандарта JIS X 0208. Расширяет кодировку JIS X 0201, добавляя в неё символы из JIS X 0208. Для кодирования символа используется 1 или 2 байта. JIS X 0201 JIS… …   Википедия

  • Shift JIS art — is artwork created from characters within the Shift JIS character set, a superset of ASCII intended for Japanese usage. Naturally there are many similarities between Shift JIS artwork and ASCII art.Shift JIS has become very popular on web based… …   Wikipedia

  • Shift-JIS — (Abkürzung SJIS) ist eine Zeichenkodierung für die japanische Schrift, entwickelt von dem japanischen Unternehmen ASCII in Zusammenarbeit mit Microsoft. Es basiert auf der Norm JIS X 0208 (JIS), verschiebt (shift) aber Bytewerte, um 64… …   Deutsch Wikipedia

  • Shift JIS — (Abkürzung SJIS) ist eine Zeichenkodierung für die japanische Schrift, entwickelt von dem japanischen Unternehmen ASCII in Zusammenarbeit mit Microsoft. Es basiert auf der Norm JIS X 0208 (JIS), verschiebt (shift) aber Bytewerte, um 64… …   Deutsch Wikipedia

  • 2channel Shift JIS art — >>1 san>>1 san (>>1さん, ichisan ) is a common Shift JIS art character on the popular Japanese BBS 2channel ( 2ch for short), standing in for the user who started a given thread. He is commonly characterized as a clueless newbie who rarely thinks… …   Wikipedia

  • JIS X 0212 — is a Japanese Industrial Standard defining coded character set for encoding the characters used in Japanese. This standard extends JIS X 0208.HistoryIn 1990 the [http://www.jsa.or.jp/ Japanese Standards Association] (JSA) released a supplementary …   Wikipedia

  • JIS X 0201 — JIS X 0201, a Japanese Industrial Standard developed in 1969 (then called JIS C 6220 until the JIS category reform), was the first Japanese character encoding to become widely used. It is either 7 bit encoding or 8 bit encoding, although 8 bit… …   Wikipedia

  • JIS C 6226 — JIS X 0208 (jap. 7ビット及び8ビットの2バイト情報交換用符号化漢字集合, dt. „7 Bit und 8 Bit paarbytekodierte Kanji Mengen zum Informationsaustausch“) ist ein Zeichensatz sowie ein Japan Industrial Standard, der die japanische Schrift kodiert. Er enthält 6.879 Zeichen.… …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”