Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita860a40

Browse files
committed
Fix a bug in conversion from big5 to EUC_TW (CNS 11643-1992 Plane 3)
Thanks Chih-Chang Hsieh <cch@cc.kmu.edu.tw> for finding the bug.
1 parent976a456 commita860a40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/utils/mb/big5.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* 1999/1/15 Tatsuo Ishii
99
*
10-
* $Id: big5.c,v 1.5 1999/05/26 15:19:54 momjian Exp $
10+
* $Id: big5.c,v 1.5.4.1 2000/12/09 04:30:04 ishii Exp $
1111
*/
1212

1313
#include"mb/pg_wchar.h"
@@ -322,7 +322,7 @@ BIG5toCNS(unsigned short big5, unsigned char *lc)
322322
if (b2c3[i][0]==big5)
323323
{
324324
*lc=LC_CNS11643_3;
325-
return (b2c3[i][1]);
325+
return (b2c3[i][1] |0x8080U);
326326
}
327327
}
328328

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp