Skip to content

Commit 4ed6be5

Browse files
committed
Fix Latin9/Unicode conversion by selecting the right table.
1 parent 780651d commit 4ed6be5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/utils/mb/conversion_procs/utf8_and_iso8859/utf8_and_iso8859.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1994, Regents of the University of California
77
*
88
* IDENTIFICATION
9-
* $Header: /cvsroot/pgsql/src/backend/utils/mb/conversion_procs/utf8_and_iso8859/utf8_and_iso8859.c,v 1.5 2002/10/26 15:01:00 tgl Exp $
9+
* $Header: /cvsroot/pgsql/src/backend/utils/mb/conversion_procs/utf8_and_iso8859/utf8_and_iso8859.c,v 1.6 2002/12/09 19:47:21 petere Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -98,7 +98,7 @@ static pg_conv_map maps[] = {
9898
{PG_LATIN8, LUmapISO8859_14, ULmapISO8859_14,
9999
sizeof(LUmapISO8859_14) / sizeof(pg_local_to_utf),
100100
sizeof(ULmapISO8859_14) / sizeof(pg_utf_to_local)}, /* ISO-8859-14 Latin 8 */
101-
{PG_LATIN9, LUmapISO8859_2, ULmapISO8859_2,
101+
{PG_LATIN9, LUmapISO8859_15, ULmapISO8859_15,
102102
sizeof(LUmapISO8859_15) / sizeof(pg_local_to_utf),
103103
sizeof(ULmapISO8859_15) / sizeof(pg_utf_to_local)}, /* ISO-8859-15 Latin 9 */
104104
{PG_LATIN10, LUmapISO8859_16, ULmapISO8859_16,

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