Focus on UTF8
This commit is contained in:
1 parent
96fabab755
commit
dab19ede42
1 file changed
+1
-1
+1
-1
@@ -129,7 +129,7 @@ class AGI:
|
||||
string = str(string)
|
||||
if isinstance(string, float):
|
||||
string = str(string)
|
||||
return ''.join(['"', string.encode('ascii', 'ignore'), '"'])
|
||||
return ''.join(['"', string.encode('utf8', 'ignore'), '"'])
|
||||
|
||||
def _handle_sighup(self, signum, frame):
|
||||
"""Handle the SIGHUP signal"""
|
||||
|
||||
Reference in new issue
Block a user