Webä¸ã®æ¥æ¬èªEUCãã¼ã¿ã«æå®ãã¹ãã¨ã³ã³ã¼ãã£ã³ã°ã¯ä½ã
æ¥æ¬èªEUCã¯å½åãG0ã«US-ASCIIãG1ã«JIS X0208-1990ãG2ã«Half Width KatakanaãG3ã«ã¦ã¼ã¶å®ç¾©æåãå®ç¾©ããã¦ãã¾ããããã®å¾ããããæ¡å¼µãã¤ã¤å¤ãã®äºç¨®ãä½ããã¾ãããã¾ãã¯ãã®äºç¨®ã®ãã¡ã®ä¸»è¦ãªãã®ãæãã¾ãã
ã¾ããæ¥æ¬èªEUCã®å½å®¶æ¨æºã¯çµå±ä½ããã¾ããã§ããã*1ãIANA Character Set Registry*2ã«ç»é²ããã¦ããEUC-JP*3(以ä¸ããã®ä»æ§ãeucJPã¨å¼ã¶)ã¯ãæ¨æºãã«ããªãè¿ããã®ã¨ãããã¨ãã§ããã§ããããããã¯G0ã«US-ASCIIãG1ã«JIS X0208-1990ãG2ã«Half Width KatakanaãG3ã«JIS X0212-1990ãæå®ãã¦ãã¾ããã¤ã¾ãããã®ã¨ã³ã³ã¼ãã£ã³ã°ã¯JIS X 0212ãåé²ãã¦ããã®ãç¹å¾´ã§ãã
次ã«ãeucJP-openç³»ãããã¾ãããã®ã¨ã³ã³ã¼ãã£ã³ã°ã¯æ¥æ¬èªEUCã®ç³»çµ±ã¨ãã¤ã¯ãã½ããæ¨æº ãã£ã©ã¯ã¿ã»ããã®ç¸äºéç¨æ§ã確ä¿ããã¨ããç®çãããOSF/JVCã«ãã£ã¦ä½ããã¾ããããã®å¾ãUnicodeã¨ã®å¯¾å¿è¡¨ (eucJP-ms, eucJP-0201, eucJP-ascii) ãå ¬éãããhttp://blog.livedoor.jp/numa2666/archives/50980727.htmlãããããè¦ããã¨ãåºæ¥ã¾ããããã®ç¹å¾´ã¯ãJIS X 0212ã«å ãã¦Windowsã®æ©ç¨®ä¾åæå (NECç¹æ®æå, IBMæ¡å¼µæå, NECé¸å®IBMæ¡å¼µæå) ãåé²ãã¦ãããã¨ã§ãããã
以ä¸ã®2ã¤ã¯Unixã®æèã«ããã¦å®ç¾©ãããã¨ã³ã³ã¼ãã£ã³ã°ã§ãããããã¨ã¯å¥ã«Windowsã®æ¥æ¬èªEUCå®è£ ã§ããCP51932ãããã¾ãããã¡ããWindowsã®æ©ç¨®ä¾åæå(NECç¹æ®æå, NECé¸å®IBMæ¡å¼µæå)ãåé²ããã¦ãã¾ãããG3ãã¤ã¾ã3ãã¤ãEUCããµãã¼ããã¦ããããJIS X 0212ãåé²ããã¦ãã¾ããããã®ãããeucJP-msã¨ãç°ãªãã¾ãã[legacy-encoding.sourceforge.jp/wiki/index.php?cp51932]
ãªããRuby 1.9/transcodeã§ã¯ä»¥ä¸ã®ãã¡ãEUC-JP (eucJP), eucJP-ms, CP51932ãç¨æããã¦ãã¾ãã
ãã¦ãããã§ã¯å½åã®åé¡ãèãã¾ããããæåæã®Webä¸ã§ã¯Netscape2.0ãx-euc-jpã¨ããååã§æ¥æ¬èªEUCãåãä»ãã¦ãã¾ãã(è¦åºå ¸ãç±æ¥)ããã®å¾ãIANAã«Extended_UNIX_Code_Packed_Format_for_Japaneseãç»é²ãã(ç»é²ããã®ã¯ãã¤ã§èª°ï¼)ãNetscape3.0(ã»ãã¨ã«3.0?)ãããEUC-JPãã§åãä»ããããã«ãªãã¾ãããã¤ã¾ãã以å¾Webã«ããã¦éä¿¡å´ã¯æ¥æ¬èªEUCã§ç¬¦å·åããããã¼ã¿ã«ãEUC-JPãã¨ãã¦éãããã«ãªãã¾ããã
ã§ã¯ããEUC-JPãã¨ãã¦éããããã¼ã¿ãåä¿¡ããã¨ãã¯ã©ã®ããã«æ±ãã°ããã®ã§ããããIANA Character Set Registryã®è¨ãã¨ããã«eucJPã§ãããããããããä¸ã®Webã¯ã©ã¤ã¢ã³ãã®å§åçå¤æ°ã¯Internet Explorerã§ãããå½¼ãã¯CP51932ãªãã¼ã¿ããEUC-JPãã¨ãã¦éã£ã¦ãã¾ãããã®ãã¼ã¿ãeucJPã§ã¯æ±ãããã¾ããããªã¢ã«ã¿ã¤ã ã«åä¿¡ãããã®ãªãã°eucJPããå¤ãããã®ã¯ã¨ã©ã¼ã¨ãã¦è¹´ãã¨ããMicrosoft社ã«ãããã£ã¦CP51932ãç¨ãããã¨ããããããã¨ããé¸æè¢ãçå±ã®ä¸ã§ã¯ãããã¾ãããæ¢ã«åãä»ããèç©ãã¦ãããã¼ã¿ã¯å¤ãããã¾ããããããã®ãã¼ã¿ãUnicodeã¸ã¨å¤æããéã«å¤±ãã¨ããã®ã¯ãªããªãåãå ¥ãããããã®ã§ãããããã¨ãã£ã¦CP51932ãç¨ãããã¨ããã¨ãUnixç³»ã®Webãã©ã¦ã¶ã¯JIS X 0212ããµãã¼ããã¦ãã¾ã£ã¦ããããããCP51932ã«ãã£ã¦å¤æãããã¨ã¯ã§ãã¾ãããã¤ã¾ããæ¢åã®æ¥æ¬èªEUCç³»ã¨ã³ã³ã¼ãã£ã³ã°ã§ã¯ãeucJPã¨CP51932ãæ··å¨ããã¨ããååã«åå¨ããã¨æãããã±ã¼ã¹ã«å¯¾ãã¦ãæãã®æ段ãæã£ã¦ãã¾ããã
ãã®ãããªåé¡ã«å¯¾ãã¦ãåãã©ã¦ã¶ãã©ã対å¦ãã¦ãããã®èª¿æ»ãhttp://www.asp-edita.jp/doda/one/doda5728_21.htmlhttp://www.asp-edita.jp/doda/one/doda5728_22.htmlã§ããFirefoxãã¤ã¾ãMozillaã¯ãã®è¾ºã®çç¾ãä¸èº«ã«èè² ã£ã¦ãã¦ãåä½ã§eucJPã¨CP51932ã®æ··å¨ãããã¼ã¿ãéåä¿¡ãã¦ãã¾ãããã®ãMozillaçæ¥æ¬èªEUCå¤æ表ãç¨ããã°ãå ã«è¿°ã¹ããã¼ã¿ãæ±ãäºãã§ãã¾ãã
ãã¦ãRubyã¯ã©ãããã¹ãã§ãããã