projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
376784c
)
Fix a bug in conversion from big5 to EUC_TW (CNS 11643-1992 Plane 3)
author
Tatsuo Ishii
Sat, 9 Dec 2000 04:27:36 +0000
(
04:27
+0000)
committer
Tatsuo Ishii
Sat, 9 Dec 2000 04:27:36 +0000
(
04:27
+0000)
Thanks Chih-Chang Hsieh
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 a9eace79a3273984ab359d742279b8e62074f179..5739a6c5a04bf61654e0fde434dba96de5cbbc01 100644
(file)
--- a/
src/backend/utils/mb/big5.c
+++ b/
src/backend/utils/mb/big5.c
@@
-7,7
+7,7
@@
*
* 1999/1/15 Tatsuo Ishii
*
- * $Id: big5.c,v 1.
5 1999/05/26 15:19:54 momjian
Exp $
+ * $Id: big5.c,v 1.
6 2000/12/09 04:27:36 ishii
Exp $
*/
#include "mb/pg_wchar.h"
@@
-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
);
}
}