decode.py ãä¸è¨ã®ããã«ä½ãã #!/usr/bin/env python import sys, urllib line = sys.stdin.readline() while line: print urllib.unquote_plus(line), line = sys.stdin.readline() â» urllib.unquote ã 㨠+ ãã¹ãã¼ã¹ã«ã¯ç½®æãããªãã $ tail -f /var/log/httpd/access_log | ./decode.pyã¿ããã«ä½¿ãããã±ã¼ã«ã UTF-8 ã§ãããã¨ãåæã«ãã¦ã¾ãã
{{#tags}}- {{label}}
{{/tags}}