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

Commit0aec7f9

Browse files
committed
Remove bogus mapping from UTF-8 to SJIS conversion table.
0xc19c is not a valid UTF-8 byte sequence. It doesn't do any harm, AFAICS,but it's surely not intentional. No backpatching though, just to be sure.In the passing, also add a file header comment to the file, like theUCS_to_SJIS.pl script would produce. (The file was originally created withUCS_to_SJIS.pl, but has been modified by hand since then. That'squestionable, but I'll leave fixing that for later.)Kyotaro HoriguchiDiscussion: <20160907.155050.233844095.horiguchi.kyotaro@lab.ntt.co.jp>
1 parentd668b03 commit0aec7f9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎src/backend/utils/mb/Unicode/utf8_to_sjis.map

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
static const pg_utf_to_local ULmapSJIS[ 7398 ] = {
2-
{0xc19c, 0x815f},
1+
/* src/backend/utils/mb/Unicode/utf8_to_sjis.map */
2+
3+
static const pg_utf_to_local ULmapSJIS[ 7397 ] = {
34
{0xc2a2, 0x8191},
45
{0xc2a3, 0x8192},
56
{0xc2a5, 0x5c},

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp