Skip to content

Commit 17c8276

Browse files
committed
Clean up win1252 documentation. Mention how we determine the number of
bytes/character for each encoding.
1 parent 2c4dea1 commit 17c8276

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

doc/src/sgml/charset.sgml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/charset.sgml,v 2.69 2005/03/14 18:31:19 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/charset.sgml,v 2.70 2005/03/15 02:30:33 momjian Exp $ -->
22

33
<chapter id="charset">
44
<title>Localization</>
@@ -312,6 +312,10 @@ initdb --locale=sv_SE
312312
<entry>Name</entry>
313313
<entry>Description</entry>
314314
<entry>Language</entry>
315+
<!--
316+
The Bytes/Char field is populated by looking at the values returned
317+
by pg_wchar_table.mblen function for each encoding.
318+
-->
315319
<entry>Bytes/Char</entry>
316320
<entry>Aliases</entry>
317321
</row>
@@ -537,16 +541,16 @@ initdb --locale=sv_SE
537541
<row>
538542
<entry><literal>WIN1251</literal></entry>
539543
<entry>Windows CP1251</entry>
540-
<entry>Western European</entry>
544+
<entry>Cyrillic</entry>
541545
<entry>1</entry>
542-
<entry></entry>
546+
<entry><literal>WIN</></entry>
543547
</row>
544548
<row>
545549
<entry><literal>WIN1252</literal></entry>
546550
<entry>Windows CP1252</entry>
547-
<entry>Cyrillic</entry>
551+
<entry>Western European</entry>
548552
<entry>1</entry>
549-
<entry><literal>WIN</></entry>
553+
<entry></entry>
550554
</row>
551555
<row>
552556
<entry><literal>WIN1256</literal></entry>

0 commit comments

Comments
 (0)