ä»ã¾ã§ãã¾ãæ°ã«ãã¦ããªãã£ãã®ã ããC++0xã®UTF-8対å¿ã«ã¯ãé常ã«æ·±å»ãªåé¡ãããããã«æãããã C++0xã§ã¯ãu8 encoding prefixã使ããã¨ã«ãã£ã¦ãUTF-8ã§ã¨ã³ã³ã¼ããããæååãªãã©ã«ã使ããã u8"ããããã" ; ãããããã®ãªãã©ã«ã®åã¯ãchar const [16]ãªã®ã ãï¼UTF-8ã§ã¯ãã²ãããªã¯ä¸æå3ãã¤ããè¦ãããnullçµç«¯ãä»ãå ãã¦ããµã¤ãºã¯16ã¨ãªããï¼ ããããcharã¨ããåã¯ãæ´å²çã«ããããããã«ããã¤ãæåã³ã¼ããæ ¼ç´ããã®ã«ä½¿ããã¦ãããcharãå ¥åã«åãåã£ãæç¹ã§ããããã©ããªã¨ã³ã³ã¼ãã使ã£ã¦ãããã¯åãããªãã®ã ã ã¤ã¾ãã以ä¸ã®æ§ãªé¢æ°ãæ¸ããå ´åã // UTF-8ã®æååãå ¥åã«åãé¢æ° void f( char const * ptr ) { // ptrãUTF-8æååãåç §ãã¦ããä¿è¨¼
{{#tags}}- {{label}}
{{/tags}}