diff options
author | lwhsu <lwhsu@FreeBSD.org> | 2009-02-16 10:26:49 +0800 |
---|---|---|
committer | lwhsu <lwhsu@FreeBSD.org> | 2009-02-16 10:26:49 +0800 |
commit | d4052a2d8033c2f0ed241173b72337c93b1594ce (patch) | |
tree | 076f6ff7f1d7da06f60aa5d02b3da9f2618396ab /deskutils/gcalcli/files | |
parent | 333af4f18f41e4fba30dd40561fe9ce81f71f71c (diff) | |
download | freebsd-ports-graphics-d4052a2d8033c2f0ed241173b72337c93b1594ce.tar.gz freebsd-ports-graphics-d4052a2d8033c2f0ed241173b72337c93b1594ce.tar.zst freebsd-ports-graphics-d4052a2d8033c2f0ed241173b72337c93b1594ce.zip |
- Add a patch to fix unicode supporting
PR: ports/125327
Submitted by: Yi-Jheng Lin <yzlin AT cs.nctu.edu.tw>
Diffstat (limited to 'deskutils/gcalcli/files')
-rw-r--r-- | deskutils/gcalcli/files/patch-gcalcli | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/deskutils/gcalcli/files/patch-gcalcli b/deskutils/gcalcli/files/patch-gcalcli new file mode 100644 index 00000000000..0773bb55b81 --- /dev/null +++ b/deskutils/gcalcli/files/patch-gcalcli @@ -0,0 +1,33 @@ +--- 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())) + + |