ee6bba867a
PR: ports/125327 Submitted by: Yi-Jheng Lin <yzlin AT cs.nctu.edu.tw>
33 lines
919 B
Text
33 lines
919 B
Text
--- gcalcli.orig 2008-07-06 12:29:27.000000000 +0800
|
|
+++ gcalcli 2008-07-06 12:31:38.000000000 +0800
|
|
@@ -195,25 +195,25 @@
|
|
def PrintErrMsg(msg):
|
|
if CLR.useColor:
|
|
sys.stdout.write(str(CLR_BRRED()))
|
|
- sys.stdout.write(msg)
|
|
+ sys.stdout.write(unicode(msg, 'UTF-8'))
|
|
sys.stdout.write(str(CLR_NRM()))
|
|
else:
|
|
- sys.stdout.write(msg)
|
|
+ sys.stdout.write(unicode(msg, 'UTF-8'))
|
|
|
|
|
|
def PrintMsg(color, msg):
|
|
if CLR.useColor:
|
|
sys.stdout.write(str(color))
|
|
- sys.stdout.write(msg)
|
|
+ sys.stdout.write(unicode(msg, 'UTF-8'))
|
|
sys.stdout.write(str(CLR_NRM()))
|
|
else:
|
|
- sys.stdout.write(msg)
|
|
+ sys.stdout.write(unicode(msg, 'UTF-8'))
|
|
|
|
|
|
def DebugPrint(msg):
|
|
return
|
|
sys.stdout.write(str(CLR_YLW()))
|
|
- sys.stdout.write(msg)
|
|
+ sys.stdout.write(unicode(msg, 'UTF-8'))
|
|
sys.stdout.write(str(CLR_NRM()))
|
|
|
|
|