Japanese language and computers: Difference between revisions

Content deleted Content added
Line 47:
| a2
|}
This can happen for example in the [[C (programming language)|C]] programming language, when having Shift-JIS in text strings. It does not happen in HTML since ASCII 0x00–0x3F (which includes ", %, & and some other used escape characters and string separators) do not appear as second byte in Shift-JIS, and backslash is not an escape characters there. But it can happen for [[Javascript]] which can be embedded in HTML pages.
 
[[Extended Unix Code|EUC]], on the other hand, is handled much better by parsers that have been written for 7-bit ASCII (and thus [[Extended Unix Code|EUC]] encodings are used on UNIX, where much of the file-handling code was historically only written for English encodings). But EUC is not backwards compatible with JIS X 0201, the first main Japanese encoding. Further complications arise because the original Internet e-mail standards only support 7-bit transfer protocols. Thus {{IETF RFC|1468}} ("[[ISO-2022-JP]]", often simply called [[JIS encoding]]) was developed for sending and receiving e-mails.[[File:Japanese TV closed caption using gaiji.jpg|thumb|[[Gaiji]] is used in closed caption of Japanese TV broadcasting]]