From 97a3c986eb14b9dca6e8a5b42c51f7bcf7144183 Mon Sep 17 00:00:00 2001 From: poing Date: Thu, 8 Sep 2016 11:02:37 +0900 Subject: [PATCH] Focus on UTF8 --- asterisk/agi.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/asterisk/agi.py b/asterisk/agi.py index 033f665..f19e9a0 100755 --- a/asterisk/agi.py +++ b/asterisk/agi.py @@ -1,6 +1,6 @@ --#!/usr/bin/env python2 --# vim: set et sw=4: - +#! /usr/bin/env python +# -*- coding: utf-8 -*- +# vim:fenc=utf-8 """ .. module:: agi :synopsis: This module contains functions and classes to implment AGI scripts in python. @@ -27,7 +27,7 @@ import sys import pprint import re import signal -#import sys +import sys reload(sys) sys.setdefaultencoding("utf-8")