projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2286046
)
Fix a bug in conversion from big5 to EUC_TW (CNS 11643-1992 Plane 3)
author
Tatsuo Ishii
<ishii@postgresql.org>
Sat, 9 Dec 2000 04:30:04 +0000
(
04:30
+0000)
committer
Tatsuo Ishii
<ishii@postgresql.org>
Sat, 9 Dec 2000 04:30:04 +0000
(
04:30
+0000)
Thanks Chih-Chang Hsieh <cch@cc.kmu.edu.tw> for finding the bug.
src/backend/utils/mb/big5.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/utils/mb/big5.c
b/src/backend/utils/mb/big5.c
index 706eef93a0e0dc0005eeaf76041a6f1f80b5501f..01207c34331181b6e883281ec84b205bd077bbef 100644
(file)
--- a/
src/backend/utils/mb/big5.c
+++ b/
src/backend/utils/mb/big5.c
@@
-322,7
+322,7
@@
BIG5toCNS(unsigned short big5, unsigned char *lc)
if (b2c3[i][0] == big5)
{
*lc = LC_CNS11643_3;
- return (b2c3[i][1]);
+ return (b2c3[i][1]
| 0x8080U
);
}
}