ãæ¤è¨¼ç»å63æãé«çå å¸ã¯ç®é åéã«ããæ´å½¢ãæ¿åï¼2013ï½2014å¹´ã«æ½è¡ãã¦ãã説ã®æ ¹æ ã¨ã¯ï¼
2004.10.17 æ°è¦ä½æã2004.12.19 å çã2005.04.02å çã æè¿ãã³ã³ãã¥ã¼ã¿ã§æ±ãæååã®æåã³ã¼ããUnicodeã§ãªããã°ãªããªãå ´é¢ãå¢ãã¦ãããUnicodeã¨ã·ããJISãEUC-JPãå¤æããæ©ä¼ãå¤ãããã®å¤æã¯å¤æ表ã§è¡ãããå¤æ表ãå®éçãªãã®ã§ãªããã°ãæååããçºçãããã¨ã«ãªãã ããããªå¤æ表ã¯ãããã¾ã§ã¯ãç¹ã«Linuxãªã©ã®ä¸ã§åä½ãããªã¼ãã³ã½ã¼ã¹ã½ããã¦ã§ã¢ã§å¤ãè¦ããããããããè¦æ ¼åç主義è ãå¤ãã£ãããã ããããããããè¦æ ¼ã©ããã«å¤æ表ãä½ãã¨ãå®ç¨çãªå¤æ表ã«ã¯ãªããªããããããæè¿ã§ã¯ã¾ã¨ããªå¤æ表ãå®è£ ãã¦ãããã®ãå¢ãã¦ãã¦ããã¾ãé¸ã¶ã ãã§ããããã«ãªã£ã¦ãã¦ããã å¤æ表ã®éããã¾ã¨ãããã¼ã¸ã¯ããè¦ãããããå®éã«ã©ã®ãããªæ¡ä»¶ãæºããã¦å¤æãããã®ãé¸ã¹ã°ãããä¸æãªã®ã§ãã¾ã¨ãã¦ã¿ãã å¤æ表ã«æ±ãã
2004 JIS ï¼ JIS2004 ï¼ã«ã¤ãã¦ãåé¡ã¨ãªãæ··ä¹±ã解説ãã¾ãã ï¼» 2005.08.12. ï¼½ â»ããã®ææ¸ã®ç®çã¯ã誰ããéé£ã¾ãã¯æ»æãããã¨ã§ã¯ãªãã¦ã ä¸éã«ãã誤解ã¾ãã¯é¯è¦ãã»ã©ããã¨ã§ãã â ããåã ã®æåãã©ã使ãã°ããã®ããã¨ãã å®ç¨çãªçµè«ã«ã¤ãã¦ã¯ã ä¸è¨ã®ãã¼ã¸ãã覧ãã ããã âãOpen ããã° ãæå使ç¨ã®æéã»ã¾ã¨ãã ãã®ãã¼ã¸ã«ã¯ããæéï¼ããæéï¼ããæéï¼ãã¨ãããªã³ã¯ãããã¾ãã â æ¬ææ¸ã§ã¯ãå¦è¡ç ã»ç念ç ã»åçç ãª è©±é¡ ã主ã«æ±ãã¾ãã æ¬ææ¸ãå ¬éãããã¨ã®æ°ããæ å ±ã¤ãã¦ã¯ã次ã®ãã¼ã¸ãã覧ãã ããã âãOpen ããã° ãæåè¦æ ¼ã ããã«ã¯ãç´°ã ã¨ãã話é¡ãããããã¨ããã¾ãã ã2004 JIS ããããæ··ä¹±ãã«ã¤ãã¦èªããã æ°ããæ¼¢åè¦æ ¼ã®åé¡ã«ã¤ãã¦ã¯ã2005å¹´ï¼ææ«ã«ãã¤ã¯ãã½ãããæ¹éã示ãã¦
2008-10-21 è¿½è¨ ãã¾ã ã«ï¼ããããããã¨ã§ããï¼æ¤ç´¢ã§é£ãã§ããããã¯ãããããã¨ããã®ãã¡ããã¡ããããã®ã§ï¼ææ°ååãæ¸ãã¦ããã¾ãã id:tokuhirom ããã Lingua::JA::Regular::Unicode ã¨ãã Pure Perl Module ããªãªã¼ã¹ãªããã¾ããï¼â http://d.hatena.ne.jp/tokuhirom/20081018/1224300947ï¼ã ããªããä½ã£ã¦ããã¢ããªã§æååã¾ããã Unicode::Japanese ã¤ã³ã¹ã¿ã³ã¹ã§ãã¹ã¦æã¡ããããã§ãªããã°ï¼ããã¦ï¼ããã¦ãã®ã°ããï¼æã¤å¿ è¦ã¯ãªãã®ã§ããï¼ï¼ãã® Lingua::JA::Regular::Unicode ã使ãã®ããã¿ã¼ã§ããä¾åæ§ããªãï¼ã¨ã¦ã軽éã§ãã®ã§ã 2008-10-21 追è¨ããã ã¦ã§ãã¢ããªãä½ã£ã¦ããã¨ï¼ã¦ã¼ã¶ãå ¥åããåè§
æ¬ç¨¿ã¯ã1996å¹´ã«çè ã大å¦ã®æå±ãµã¼ã¯ã«ã®æ©é¢èªã«å¯ç¨¿ããè¨äºããã¨ã«å çè¨æ£ãããã®ã§ãã(æçµæ´æ° 1999.7.31) ç®æ¬¡ ã¯ãã㫠第1ç« æ¥æ¬èªã®ã³ã¼ãä½ç³» 第2ç« ASCIIã¨1ãã¤ãæåã³ã¼ã 第3ç« JISæ¼¢åã³ã¼ãã¨ã¨ã³ã³ã¼ãã£ã³ã°æ³ 第4ç« ISO 2022 第5ç« ISO 2022ã®å®ä¾ 第6ç« ä¸å½èªã»éå½èªã®æåã³ã¼ã 第7ç« ISO 10646ã¨Unicode ãããã« åèæç® ã¯ããã« ASCIIã ãã§ç¨ã足ããã¢ã¡ãªã«ã¨éã£ã¦ã ç§ãã¡ã¯æ¥æ¬èªãæ±ããªãã¦ã¯ãªããªãããã ããæ·±ãæåã³ã¼ãã®åé¡ã¨é¢ããããããã¾ããã ããã§ããMS-DOS/WindowsãMacã使ãéãã§ã¯ã ASCIIã¨ã·ããJIS(ãã¾ã«JIS)ãç¥ã£ã¦ããã°æ¸ã¿ã¾ããã UNIXãã¤ã³ã¿ã¼ãããã使ãå§ããã¨ã JISã»EUCã»ã·ããJISã¨ãã¾ãã¾ãªæ¥æ¬èªã³ã¼ãã«é ã
2007å¹´04æ14æ¥01:20 ã«ãã´ãªLightweight Languages ajax - æååãå¤å®è¡¨ ã誰ããã¨ããæã«hyukiããã®è¦ç·ãæããã®ã¯æ°ã®ããããããã çµå浩ã®ã¯ã¦ãªæ¥è¨ 以ä¸ã®ãããªãæååãå¤å®è¡¨ããããã¨ãããªãã¨æã£ã¦ä½ãå§ãã¾ãããã飽ãã¡ããã¾ããï¼âããï¼ã誰ãä½ã£ã¦â¦ãã¨ããããã§ããã£ãã¼ã§ä½ã£ãã®ã以ä¸ã ã ã§è¡¨ç¤º æ¼¢åãã«ã¿ã«ããã²ãããªã®å ¥ã£ãqueryã ããã¯UTF-8ã§æ¸ããããã¹ã æååãã解決ãããã¨ã¯ é¯å´ã®ã½ã¼ã¹ã¯ãã¡ãåå´ã¯ã使ãã®ãã©ã¦ã¶ã¼ã§ãã½ã¼ã¹ãè¦ã¦ãä¸ããã Enjoy! Dan the Man with too Many Mojibake to Fix See Also: æååãã¯ã¤ãº(解çç·¨) - 西尾泰åã®ã¯ã¦ãªãã¤ã¢ãªã¼ ãLightweight Languagesãã«ãã´ãªã®ææ°è¨äº
å³2âWindows Vistaã§åå½¢ã追å ãããæåã®ä¾ãåä½ã®å¤æ´ã§ã¯ãªãæåã®è¿½å ãªã®ã§ï¼åããã©ã³ãã®ã¾ã¾2ã¤ã®åä½ãåæã«å©ç¨ã§ããã®ã¯ä¸è¦ä¾¿å©ãªããã ãï¼æ¤ç´¢æ§ãªã©ã®é¢ã§ã¯ä¸ä¾¿ã ãWindows Vistaã®MS-IMEã§ã¯ï¼ãç°å¢ä¾åæåãã¨è¡¨ç¤ºããã å³3âWindows Vistaã§è¿½å ãããæåã使ã£ãææ¸ãWindows XPã§éããã¨ãã®ä¾ãä¸å¤®ã®VMware Workstationä¸ã§åä½ãã¦ããã®ãWindows Vistaããã®ææ¸ãWindows XPã§éããã®ãå·¦ä¸ã®ã¡ã¢å¸³ããå±ãã®æ£åããã»ãã«ãªããã ãï¼ãå¥ãã®æ£åã¯æ£ãã表示ãããããã ãï¼ã´ã·ãã¯ä½ã«å¤æ´ãã¦ãææä½ã§è¡¨ç¤ºããã æ¢ã«å ±éããã¦ããã¨ããï¼Windows Vistaã§ã¯ï¼æ¥æ¬èªã®æ±ãã«ã¤ãã¦å¤§ãã2ã¤ã®å¤æ´ãããã1ã¤ã¯ï¼ä¸é¨ã®æåã«ã¤ãã¦å½¢ï¼åå½¢ï¼ãå¤ãããã¨ããã1ã¤ã¯ï¼å©ç¨ã§
ããããã°æ¥ææ¥ã®ãããããã«ãã§ãããåºã§ãã ãã£ãçæ§ã©ãããããã¨ããããã¾ããããã¤ãä¸çªã®æ¥½ãã¿ã¯ãçµãã£ãå¾ã®æ親ä¼ã ã£ãããããã§ããããã®å¸ã§ããå¦çãããããæåã³ã¼ããåå¼·ããã¨ã£ãããã«ãªããããªæç« ãããã¾ãããï¼ãã¨ã®è³ªåãã ãããä¸ã§å ¥æã§ãã¦ãä¿¡é ¼æ§ãé«ãããããèªãã å¾ã«æ¬¡ã®ã¹ããããè¦ãã¦ãããããªæç« ãã¤ã¾ãåºæ¬æç®ã§ããããã¡ãããã¼ããªã©ã®å稿ã§ã¯ãã¡ãã¡ããã°ããèãã¦æããã®ã以ä¸ã®ãã®ãçãããªãã©ããªæç« ãæãã¾ããï¼ æ¼¢åã»æ¥æ¬èªå¦çæè¡ã®çºå±ï¼æ¼¢åã³ã¼ãã®æ¨æºåï¼èéèå¸ï¼ æ¥æ¬ã®æ¼¢åã³ã¼ããåå²ã®æ®µéãã詳述 JIS X 0221ï¼ISO/IEC 10646ï¼ã®ç®æããã®ï¼èéèå¸ï¼ ISO/IEC 10646ï¼Unicode)ã«ã¤ãã¦ã®åºæ¬æç®ãªããã æåã³ã¼ãã¨å³æ¸é¤¨ï¼èéèå¸ï¼ æ¨é¡ã«ã¨ã©ã¾ãããå½éè¦æ ¼ã®æ´å²ã詳述 JISæ¼¢
ããã¾ã§ï¼Windows Vistaã®æåã®æ±ãã«é¢ããäºæãä½åº¦ãåãä¸ãã¦ãããåããã£ã©ã¯ã¿ã»ã³ã¼ãã§ï¼Windows XPã®ã¨ãã¨æåã®å½¢ãå¤ãã£ããï¼Unicodeã§ããæ±ããªãæåããã£ããããã¨ãã話é¡ã ãä»åã¯ï¼ã¨ã³ã³ã¼ãã£ã³ã°ã«ã¤ãã¦èãã¦ã¿ããã ããã¾ã§ã®è¨äºã§ãæ¸ãã¦ãããï¼æåå¦çã¨ã¨ã³ã³ã¼ãã£ã³ã°ã«é¢ããåé¡ã¯ï¼ä½ãWindows Vistaã«å§ã¾ã£ãããã§ã¯ãªããWindows XPãWindows 2000ãªã©ï¼æ¢åã®Windowsã§ãåæ§ã ãä¾ãã°ï¼ãé´ãã®æ§åã§ãããã·ãã«ã¢ã¡ãã¯ï¼Unicodeã§ããæ±ããªãæåã ãï¼Windows XP以åã®MS-IMEã§ãå ¥åã§ãããç³é¹¸ã®ã鹸ãã®æ§åãããã§ããããããã®æåãæ±ãã«ã¯ï¼ã¢ããªã±ã¼ã·ã§ã³ã»ã½ãããï¼æååãUnicodeã§å¦çããªãã°ãªããªããã·ããJISã«å¤æããç¬éã«ï¼æåæ å ±ãç¡ããªã£ã¦ãã¾
æ¢ã«ããã¤ãã®è¨äºã§å ±éããã¦ããããã«ï¼Windows Vistaã§ã¯ï¼JIS X 0213:2004ï¼JIS2004ï¼ã¨å¼ã¶è¦æ ¼ã«å¯¾å¿ãï¼å©ç¨ã§ããæåæ°ãå¢ããã¨ã¨ãã«ä¸é¨ã®æåã®å½¢ãå¤ããããã®ãã¨ã§ï¼Windows Vistaã使ãã¨æåã«é¢ãã¦ä½ãåé¡ãèµ·ãããã®ããã«æããã¦ããç¯ãããããã ã ç§ãæ¸ããè¨äºã§ãï¼ããããã®æåã使ã£ã¦Windows Vistaã§ä½ã£ãææ¸ãï¼JIS2004ã«å¯¾å¿ãã¦ããªãæ¢åã®Windowsã§éãã¨ï¼ãã»ãããâ ããªã©ã§è¡¨ç¤ºãããæãããããã¨è¨è¿°ãã¦ããï¼èªè ã«å¯¾ãã¦ä½è¨ãªä¸å®ãä¸ãã¦ãã¾ã£ããããããªããã¾ãï¼ã追å æåã使ã£ãææ¸ãä¿åããã¨ãã¯ï¼ã¨ã³ã³ã¼ãã£ã³ã°ãUnicodeã«ããå¿ è¦ããããã¨ã®è¨è¿°ã¯ï¼Windows Vistaã ãã®ãã¨ãã¨èª¤è§£ãä¸ãã¦ãã¾ã£ããããããªããããã¯ï¼å¾ã§èª¬æããããã«Windows 98/NT
åå¼·ãå ¼ãã¦ã®åæã«ç¿»è¨³ã·ãªã¼ãºç¬¬3å¼¾ã§ããä»åã¯Joel Spolskyæ°ã®ããã°ã«æ²è¼ããã¦ããThe Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets (No Excuses!)ã§ããæ²è¼ãããã®ã¯2003å¹´10æã¨ã5å¹´è¿ãåã®ãã¨ãªã®ã§ãç¾ç¶ã«ããããªãã¨ãããããããããã¾ããããã¨ã¦ãåèã«ãªã解説ã§ãã ã½ããã¦ã§éçºè ãªã絶対ã«æä½éç¥ã£ã¦ããªããã°ãªããªãã¦ãã³ã¼ãã¨æåã»ããã«ã¤ãã¦ï¼è¨ã訳ã¯ãªãã§ããï¼ï¼ ä¸å¯è§£ãªContent-Typeã¿ã°ã«ã¤ãã¦ãã¤ã¦çåã«æã£ããã¨ã¯ãªãã§ããããï¼ããããHTMLãã¡ã¤ã«ã«æ¸ãè¾¼ããã®ã¨ãããã¨ã¯ç¥ã£ã¦ãã§ããããããªãã®ããã«ãããªããã°ãããªãã®ãã¾ã§ã¯ç¥ã
Summary è¨å®ãã¹ãé ç®ã¯ä»¥ä¸ï¼ ;; Disable Output Buffering output_buffering = Off ;; Set HTTP header charset ; default_charset = EUC-JP ;; Set default language to Japanese mbstring.language = Japanese ;; HTTP input encoding translation is enabled. mbstring.encoding_translation = off ;; Set HTTP input encoding conversion to auto mbstring.http_input = pass ;; Convert HTTP output to EUC-JP mbstring.http_output
ãæ¥æ¬èªæåã»ãããVistaæ大ã®åé¡ã¨ãã¦æ¥æµ®ä¸ï¼ITproãããåãã®ãã¿ã«ãªã£ãã®ã§ããããªããªãæéãã¨ããããã®è¨äºãæ¸ãå§ãã¦ã¯ãï¼é±éãçµã£ã¦ãã¾ãã¾ããã»ã»ã»orz Windows Vistaã¯ãæ°ããæåã»ããã«é¢ããJISè¦æ ¼ãJIS X 0213:2004ãã«æºæ ããæ¥æ¬èªãã©ã³ããæ¨æºã§æè¼ãããããã«ãããæ¢åã®æ¼¢åã®ãã¡122æåã®åå½¢ãå¤æ´ã«ãªããç´900æåã®æ¼¢åãç´200æåã®éæ¼¢åï¼è±èªã®çºé³è¨å·ãè¨å·ãã¢ã¤ãæåãªã©ï¼ãæ°ãã«è¡¨ç¤ºå¯è½ã«ãªãã ãä¸ç¥ã ããã«ã追å ãããæ°ããæåã®ä¸é¨ãUnicodeã§è¡¨ç¾ããã¨ãé常ã®2ãã¤ãã§ã¯ãªã4ãã¤ãã§è¡¨ç¾ããããã®ãããã ãã¿ã¦ãSJIS â UTF-8 â SJIS ã¨ãããã¨æååããããã®ã¨ãã§ããããï¼å¤§ä¸å¤«ã ã£ãï¼å¤§ä¸å¤«ãããªãã£ãããã©ããªå¯¾çãã¨ã£ãããããã ã£ãï¼ã£ã¦ã®ãèå¯ãã¦ãã¾ã
vimã¨ãã£ã¿ã§ããã¡ã¤ã«ã®æåã³ã¼ããæ¹è¡ã³ã¼ããä¿®æ£ããããã¯å¤æ´ããæã®è©±ã ãã¡ã¤ã«ã®æåã³ã¼ãããæ¹è¡ã³ã¼ããå¤æ´ããæã¯ã å¤æ´ããããã¡ã¤ã«ãéããç¶æ ã§ã ã»æåã³ã¼ãã®å¤æ´ :set fileencoding=æåã³ã¼ã :set fenc=æåã³ã¼ã (ä¸ã®ã³ãã³ãã®çãå½¢å¼ããã¡ãã§ãè¯ãã) :set fileencoding=euc-jp (ã¨ã³ã³ã¼ãã£ã³ã°EUC-JPã«å¤æ´ã) :set fileencoding=shift_jis (ã¨ã³ã³ã¼ãã£ã³ã°SHIFT_JISã«å¤æ´ã) :set fileencoding=utf-8 (ã¨ã³ã³ã¼ãã£ã³ã°UTF-8ã«å¤æ´ã) ã»ãã¡ã¤ã«ãã©ã¼ãããã®ç¨®é¡ã®å¤æ´ :set fileformat=ãã¡ã¤ã«ãã©ã¼ãããã®ç¨®é¡ :set ff=ãã¡ã¤ã«ãã©ã¼ãããã®ç¨®é¡ (ä¸ã®ã³ãã³ãã®çãå½¢å¼ããã¡ãã§ãè¯ãã) :set f
æè¿ã®æ´æ°å±¥æ´ 2006-10-28: ãShift-JISã®æ¼¢åãå«ããã¡ã¤ã«å/ãã¹åãã«ã¤ãã¦è¥å¹²è¿½è¨ã 2005-03-26: ãæåã«ãä¸ãXMLæ¥æ¬èªãããã¡ã¤ã«ç¬¬2çã«åºã¥ããè¥å¹²è¿½è¨ã 2005-03-09: ãæåã«ãä¸ãæç« ãè¥å¹²ä¿®æ£ã 2003-06-24: Shift-JISã®æ¼¢åãå«ããã¡ã¤ã«å/ãã¹å 2003-05-31: ãæåã«ãä¸ããã·ããJISããªã©ã®è¡¨è¨ã«ã¤ãã¦ã 2003-05-24: CP932éè¤å®ç¾©æåã®å¤æ 2002-08-30: Perl 5.8.0 ã«ã¤ãã¦ã 2002-01-17: é·ãæååã«å¯¾ããæ£è¦è¡¨ç¾æ¤ç´¢ 2001-12-15: ShiftJIS::Collate ã overrideCJK ãã©ã¡ã¼ã¿ãå»æ¢ãããã¨ã«ä¼´ã æ¥æ¬èªæååã並ã³æ¿ããã®æ¸ãæãã æåã« æ¥æ¬èªã®æåã³ã¼ãã«ã¯ããã¤ãã®ãã®ã使ããã¦ãã¾ãããã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}