Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Plone 4.0.4 and Postgresql Encoding

Im using Plone 4.0.4, Postgresql 9.0.3 and RelStorage 1.5.0b2. Currently Im using "da_DK.ISO8859-1" encoding in PostgreSQL - would "da_DK.UTF-8" be better since Plone is using UTF-8 internally? PS both "Encoding, Collation and Ctype" are set in Postgresql.

Thanks. Nikolaj G.

like image 781
user669857 Avatar asked Jul 28 '26 10:07

user669857


1 Answers

RelStorage stores only Python pickles in BLOBs, the rest is transaction metadata in the form of integers and boolean flags. At no time will you see raw object contents appear in the database and there are no character columns in the RelStorage schema.

As such, it makes no difference whatsoever what encoding you use for PostgreSQL.

like image 196
Martijn Pieters Avatar answered Jul 31 '26 00:07

Martijn Pieters



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!