Different encodings and locales on one machine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

at the moment I am running two different PostgreSQL (12) servers on one Ubuntu 20.04 machine.
For server one I need WIN1252 encoding with "de_DE.cp1252" locales set.
For server two I need UTF8 encoding, but also with "de_DE.cp1252" locales set.

I added support for
de_DE.CP1252 CP1252
de_DE.CP1252 UTF-8
to
/usr/local/share/i18n/SUPPORTED
and
/etc/locale.gen
and ran
locale-gen

PostgreSQL seems only to recognize the last entry I added. So I can either use "WIN1252" or "UTF-8" encoding with "de_DE.cp1252" locales.

Maybe I just have problems understanding how Liunx is handling encodings and locales.

Does anyone is successfully running PostgreSQL with a similar setup as I described?

Kind regards,
Patrick





[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux