pg.ddx.io pgsql-admin@postgresql.org mailing list archivehelp / color / mirror / Atom feed
Character Corruption / Encoding Question 2+ messages / 2 participants [nested] [flat]
* Character Corruption / Encoding Question @ 2007-11-30 20:07 Bill Willits <bwillits@cox.net> 0 siblings, 1 reply; 2+ messages in thread From: Bill Willits @ 2007-11-30 20:07 UTC (permalink / raw) To: pgsql-admin We have just upgraded our phppgadmin client from v3.5 to v.4.1.3. Now, when we view special characters in phppgadmin they are displayed incorrectly. If we update the character field (to a special character), it will not store properly. Our database encoding is SQL_ASCII. The same operations work fine in v.3.5 of phppgadmin and with pgadmin III. Obviously, this is a phppgadmin issue (and I have posted a question to them), but I am just curious what could have changed to cause it, and what if any workaround there would be outside of reverting to old version of phppgadmin or getting a patch. Thanks Bill Willits ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Character Corruption / Encoding Question @ 2007-11-30 22:05 Ivo Rossacher <rossacher@bluewin.ch> parent: Bill Willits <bwillits@cox.net> 0 siblings, 0 replies; 2+ messages in thread From: Ivo Rossacher @ 2007-11-30 22:05 UTC (permalink / raw) To: pgsql-admin Am Freitag, 30. November 2007 21.07:40 schrieb Bill Willits: > We have just upgraded our phppgadmin client from v3.5 to v.4.1.3. Now, > when we view special characters in phppgadmin they are displayed > incorrectly. If we update the character field (to a special character), it > will not store properly. Our database encoding is SQL_ASCII. The same > operations work fine in v.3.5 of phppgadmin and with pgadmin III. SQL_ASCII is not an encoding but more the lack of any encoding support. This is required when you need full control of the encoding stuff. But then all the clients have to agree and take care by them self for the encoding. This can not be expected to be stable over several different applications, installations and releases and is therefore only usefull when really needed for some reason. So phpadmin would need to be configured to use the correct encoding for your setup (I do only have little, aged expirience with phpadmin but I think to remember that the encoding used is defined by the php installation). From my point of view it would make more sense to use UTF8 or any other encoding fullfilling your needs, so the database can convert the encoding from and to the client encoding for you. However depending of the actual status of the data in the database it might be some work to convert the data to the new encoding (it depends on how many different encodings where used to enter data into the database). You can find more details on the matter in the manual in chapter 21. Best regards Ivo Rossacher > > Obviously, this is a phppgadmin issue (and I have posted a question to > them), but I am just curious what could have changed to cause it, and what > if any workaround there would be outside of reverting to old version of > phppgadmin or getting a patch. > > Thanks > Bill Willits ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2007-11-30 22:05 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2007-11-30 20:07 Character Corruption / Encoding Question Bill Willits <bwillits@cox.net> 2007-11-30 22:05 ` Ivo Rossacher <rossacher@bluewin.ch>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox