@@ -1651,7 +1651,7 @@ setup_collation(void)
16511651if (len == 0 || localebuf [len - 1 ]!= '\n' )
16521652{
16531653if (debug )
1654- fprintf (stderr ,_ ("%s: locale name too long, skipped:%s \n" ),
1654+ fprintf (stderr ,_ ("%s: locale name too long, skipped:\"%s\" \n" ),
16551655progname ,localebuf );
16561656continue ;
16571657}
@@ -1676,7 +1676,7 @@ setup_collation(void)
16761676if (skip )
16771677{
16781678if (debug )
1679- fprintf (stderr ,_ ("%s: locale name has non-ASCII characters, skipped:%s \n" ),
1679+ fprintf (stderr ,_ ("%s: locale name has non-ASCII characters, skipped:\"%s\" \n" ),
16801680progname ,localebuf );
16811681continue ;
16821682}
@@ -2971,7 +2971,7 @@ main(int argc, char *argv[])
29712971strcmp (lc_ctype ,lc_numeric )== 0 &&
29722972strcmp (lc_ctype ,lc_monetary )== 0 &&
29732973strcmp (lc_ctype ,lc_messages )== 0 )
2974- printf (_ ("The database cluster will be initialized with locale%s .\n" ),lc_ctype );
2974+ printf (_ ("The database cluster will be initialized with locale\"%s\" .\n" ),lc_ctype );
29752975else
29762976{
29772977printf (_ ("The database cluster will be initialized with locales\n"
@@ -2998,7 +2998,7 @@ main(int argc, char *argv[])
29982998if (ctype_enc == -1 )
29992999{
30003000/* Couldn't recognize the locale's codeset */
3001- fprintf (stderr ,_ ("%s: could not find suitable encoding for locale%s \n" ),
3001+ fprintf (stderr ,_ ("%s: could not find suitable encoding for locale\"%s\" \n" ),
30023002progname ,lc_ctype );
30033003fprintf (stderr ,_ ("Rerun %s with the -E option.\n" ),progname );
30043004fprintf (stderr ,_ ("Try \"%s --help\" for more information.\n" ),
@@ -3013,18 +3013,18 @@ main(int argc, char *argv[])
30133013 * UTF-8.
30143014 */
30153015#ifdef WIN32
3016- printf (_ ("Encoding%s implied by locale is not allowed as a server-side encoding.\n"
3017- "The default database encoding will be set to%s instead.\n" ),
3016+ printf (_ ("Encoding\"%s\" implied by locale is not allowed as a server-side encoding.\n"
3017+ "The default database encoding will be set to\"%s\" instead.\n" ),
30183018pg_encoding_to_char (ctype_enc ),
30193019pg_encoding_to_char (PG_UTF8 ));
30203020ctype_enc = PG_UTF8 ;
30213021encodingid = encodingid_to_string (ctype_enc );
30223022#else
30233023fprintf (stderr ,
3024- _ ("%s: locale%s requires unsupported encoding%s \n" ),
3024+ _ ("%s: locale\"%s\" requires unsupported encoding\"%s\" \n" ),
30253025progname ,lc_ctype ,pg_encoding_to_char (ctype_enc ));
30263026fprintf (stderr ,
3027- _ ("Encoding%s is not allowed as a server-side encoding.\n"
3027+ _ ("Encoding\"%s\" is not allowed as a server-side encoding.\n"
30283028"Rerun %s with a different locale selection.\n" ),
30293029pg_encoding_to_char (ctype_enc ),progname );
30303030exit (1 );
@@ -3033,7 +3033,7 @@ main(int argc, char *argv[])
30333033else
30343034{
30353035encodingid = encodingid_to_string (ctype_enc );
3036- printf (_ ("The default database encoding has accordingly been set to%s .\n" ),
3036+ printf (_ ("The default database encoding has accordingly been set to\"%s\" .\n" ),
30373037pg_encoding_to_char (ctype_enc ));
30383038}
30393039}
@@ -3050,7 +3050,7 @@ main(int argc, char *argv[])
30503050default_text_search_config = find_matching_ts_config (lc_ctype );
30513051if (default_text_search_config == NULL )
30523052{
3053- printf (_ ("%s: could not find suitable text search configuration for locale%s \n" ),
3053+ printf (_ ("%s: could not find suitable text search configuration for locale\"%s\" \n" ),
30543054progname ,lc_ctype );
30553055default_text_search_config = "simple" ;
30563056}
@@ -3061,12 +3061,12 @@ main(int argc, char *argv[])
30613061
30623062if (checkmatch == NULL )
30633063{
3064- printf (_ ("%s: warning: suitable text search configuration for locale%s is unknown\n" ),
3064+ printf (_ ("%s: warning: suitable text search configuration for locale\"%s\" is unknown\n" ),
30653065progname ,lc_ctype );
30663066}
30673067else if (strcmp (checkmatch ,default_text_search_config )!= 0 )
30683068{
3069- printf (_ ("%s: warning: specified text search configuration \"%s\" might not match locale%s \n" ),
3069+ printf (_ ("%s: warning: specified text search configuration \"%s\" might not match locale\"%s\" \n" ),
30703070progname ,default_text_search_config ,lc_ctype );
30713071}
30723072}