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

Commitd6b5dee

Browse files
committed
Remove some non-ASCII symbols from a comment.
Buildfarm member hamerkop is unhappy that daitch_mokotoff.c "containsa character that cannot be represented in the current code page(932). Save the file in Unicode format to prevent data loss". Thereare a lot of non-ASCII characters in comments, but I do not see anyoutside a comment, so this is just cosmetic. Nonetheless the warningis fairly scary and people might waste time trying to understand thecause, so we ought to silence it.We have only one other occurrence of a non-ASCII character in .c or .hfiles in the tree: predicate.c mentions "Uwe Röhm". It's far fromclear why hamerkop isn't complaining about that too; but it isn't,so maybe there is some special provision for accented Roman letters.We can remove the non-letter symbols from the comment foriso8859_1_to_ascii_upper without any real loss of usefulness,so let's try that first to see if it silences the warning.Discussion:https://postgr.es/m/1546512.1681495035@sss.pgh.pa.us
1 parent414d662 commitd6b5dee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎contrib/fuzzystrmatch/daitch_mokotoff.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ static const dm_codes end_codes[2] =
112112
/* Mapping from ISO8859-1 to upper-case ASCII, covering the range 0x60..0xFF. */
113113
staticconstchariso8859_1_to_ascii_upper[]=
114114
/*
115-
"`abcdefghijklmnopqrstuvwxyz{|}~ ¡¢£¤¥¦§¨©ª«¬ ®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"
115+
"`abcdefghijklmnopqrstuvwxyz{|}~ ¡.....various odd symbols.....¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ*ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö/øùúûüýþÿ"
116116
*/
117117
"`ABCDEFGHIJKLMNOPQRSTUVWXYZ{|}~ ! ?AAAAAAECEEEEIIIIDNOOOOO*OUUUUYDSAAAAAAECEEEEIIIIDNOOOOO/OUUUUYDY";
118118

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp