Skip to content

Commit 40c729a

Browse files
committed
Highlight diff idea for iconv.
1 parent 363fcba commit 40c729a

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

doc/src/sgml/release.sgml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.405 2005/12/06 20:19:17 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.406 2005/12/06 20:25:42 momjian Exp $
33

44
Typical markup:
55

@@ -532,10 +532,12 @@ psql -t -f fixseq.sql db1 | psql -e db1
532532
8.1.X. This is because previous versions allowed invalid <literal>UTF8</>
533533
sequences to be entered into the database, and this release
534534
properly accepts only valid <literal>UTF8</> sequences. One
535-
way to correct a dumpfile is to use <command>iconv -c -f UTF-8 -t UTF-8</>.
536-
This will remove invalid character sequences. <command>iconv</>
537-
reads the entire input file into memory so it might be necessary to
538-
<command>split</> the dump into multiple smaller files for processing.
535+
way to correct a dumpfile is to use <command>iconv -c -f UTF-8 -t UTF-8
536+
-o cleanfile.sql dumpfile.sql</>. The <literal>-c</> option removes
537+
invalid character sequences. A diff of the two files will show the
538+
sequences that are invalid. <command>iconv</> reads the entire input
539+
file into memory so it might be necessary to <command>split</> the dump
540+
into multiple smaller files for processing.
539541
</para>
540542
</listitem>
541543

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy