Macã§ãã·ãã£ããã³ãã¿ããã«å解ããã¡ãã£ã¦ã(NFDã«ãªã£ã¦ã)ã®ãå ã«æ»ã(NFCã«ãã)æ¹æ³ã§ä¸çªæ軽ãªã®ã£ã¦ãªãã ããï¼ãã¾ã¨ããããã¿ã¼ããã«ã«è²¼ãä»ããã¨ãã«ã¯å ã«æ»ãã®ãè¦ã¤ãã¦ããã使ã£ã¦ãããæ軽ã¨ã¯è¨ããããã ã¿ã¼ããã«ã«è²¼ãã¤ãã¦çµåãã表示ã«ãªã£ã¦ããã®ãé¸æãã¦ããä¸åº¦ã³ãã¼ããã¨ãã£ã¦è©±ããé¸æã¨ãããã©ãããã®ã§ä½ã¨ããããã£ãã ãªãã©ã¤ããªãã®ã§ä»æ¹ãªãèªåã§ãããªã®æ¸ã㦠import unicodedata import subprocess while True: d = unicode(raw_input(">>> "), "utf-8") print repr(d), d d = unicodedata.normalize("NFC", d) print repr(d), d p = subprocess.Popen("pbcopy", s
{{#tags}}- {{label}}
{{/tags}}