Project

General

Profile

Actions

Bug #16499

closed

Problems with UTF-8 and PostGres

Added by old_wimmer5 about 18 years ago. Updated about 18 years ago.

Status:
Closed
Priority:
Should have
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2006-08-28
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
5
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hello,
I have configured Typo3 to use a Postgres DB (UTF-8).

I added
default_charset = "uft-8"
to the php.ini in the /etc/php5/apache2 directory.
I have Typo3 4.0 installed.

When I try to store content in the DB I get the error messages:

Warning: pg_query() [function.pg-query]: Query failed: FEHLER: ungültige Byte-Sequenz für Kodierung »UTF8«: 0xdcdc in /var/www/dummy-4.0.1/typo3conf/ext/adodb/adodb/drivers/adodb-postgres7.inc.php on line 115

Warning: Cannot modify header information - headers already sent by (output started at /var/www/dummy-4.0.1/typo3conf/ext/adodb/adodb/drivers/adodb-postgres7.inc.php:115) in /var/www/typo3_src-4.0.1/typo3/tce_db.php on line 225

When I add the following lines into the localconf.php I can store the data in the DB without an error.
But when I want to create a website out of this content, the website is empty. (the header exists but theres no content)

Is this a bug?

(issue imported from #M4109)

Actions #1

Updated by Karsten Dambekalns about 18 years ago

Hi, please post your localconf.php settings.

Actions #2

Updated by Karsten Dambekalns about 18 years ago

Lack of feedback, I suspect a missing forceCharset directive in lcoalconf.php.

Actions

Also available in: Atom PDF