]> granicus.if.org Git - postgresql/commit
Fix for rearranging encoding id ISO-8859-5 to ISO-8859-8.
authorTatsuo Ishii <ishii@postgresql.org>
Sat, 24 Dec 2005 00:49:18 +0000 (00:49 +0000)
committerTatsuo Ishii <ishii@postgresql.org>
Sat, 24 Dec 2005 00:49:18 +0000 (00:49 +0000)
commit5343bcadd6d4c6151b68f80f0b0c4b4c01450d67
tree56024886089a52397d7df87638de4fd371bd14ac
parent13d954d7449aa0ca13a898399b942c0fa8fbdd54
Fix for rearranging encoding id ISO-8859-5 to ISO-8859-8.
Also make the code more robust by searching for target encoding
in the internal charset map.

Problem reported by Sagi Bashari on 2005/12/21.
See "[BUGS] BUG #2120: Crash when doing UTF8<->ISO_8859_8 encoding conversion"
on pgsql-bugs list for more details.

Back patch for 8.1_STABLE.
src/backend/utils/mb/conversion_procs/utf8_and_iso8859/utf8_and_iso8859.c