---
title: "typo3 4.5.2 auf UTF-8 umstellen"
url: "https://www.typo3.net/d/104879-typo3-452-auf-utf-8-umstellen"
source: "typo3.net"
tags: ["Backend","Datenbank","Frage"]
created: "2011-04-11"
last_reply: "2011-05-03"
replies: 1
solved: false
page: 1
pages: 1
lang: "de"
---

# typo3 4.5.2 auf UTF-8 umstellen

Backend · 1 Antwort · gestartet 2011-04-11

## Eröffnungsbeitrag

**andres** · 2011-04-11 · [Beitrag #1](https://www.typo3.net/d/104879-typo3-452-auf-utf-8-umstellen/1)

hallo
da mein formular nach dem update keine umlaute mehr versendet, habe ich hier im forum gelesen, dass man auf UTF-8 umstellen sollte. frage: was ist alles zu tun?

ins setup habe ich geschrieben:

```typoscript
page.config.metaCharset = utf-8
page.config.doctype = xhtml_trans
```

im installtool unter All Configuration habe ich folgendes auf UTF-8 gesetzt:

-[GFX][TTFLocaleConv] = UTF-8

-[SYS][setDBinit] = SET NAMES utf8; | SET SESSION character_...
 SET NAMES utf8;
 SET SESSION character_set_server=utf8;

-[BE][forceCharset] = UTF-8

...dann erhielt ich die fehlermeldung:
Oops, an error occured!
Forced charset not found: The forced character set "UTF-8" was not found in t3lib/csconvtbl/

was muss ich weiter tun damit es funktioniert?
muss ich die DB manuell auf UTF-8 stellen?
dank und gruss
andré

## Antworten

### [#2](https://www.typo3.net/d/104879-typo3-452-auf-utf-8-umstellen/2) · andimohr · 2011-05-03

Da bin ich lelich auch durch. Das sind meine Notizen, ich hoffe die helfen dir in dem einen oder anderen Punkt weiter... eventuell fehlen bei dir in der Konf nur Anführungszeichen oder Semikolon...

*******************
Update All Extensions
*******************

*******************
Umstellen uf utf8 !
*******************

Vorab prüfen ob phpmysqladmin anzeige utf8

character encoding of the database is as recommended: utf8_general_ci
	exported it and imported the latin1 data into a new utf8 database.
	1.) Template -> TypoScript Object Browser...

Constants Umlaute?
		Setup Umlaute?
		Alle Templates und Externen Skripte nach Umlauten durchsuchen

2.) Backup Database

3.) Dump Database ohne Schema, wichtige spezielle Parameter siehe D:\mysql50scripsmig

4.) php.ini
		default_charset = "utf-8"

5.) my.ini
		[mysql] und [mysqld]
		default-character-set=utf8

6.) localconf.php

// For backend charset
$TYPO3_CONF_VARS['BE']['forceCharset'] = 'utf-8';
$TYPO3_CONF_VARS['SYS']['setDBinit'] = 'SET NAMES utf8;';

// For GIFBUILDER support
// Set it to 'iconv' or 'mbstring'
$TYPO3_CONF_VARS['SYS']['t3lib_cs_convMethod'] = 'mbstring';
// For 'iconv' support you need at least PHP 5.
$TYPO3_CONF_VARS['SYS']['t3lib_cs_utils'] = 'mbstring';

Empty exisitng Database (truncate all tables)

7.) db_utf8_fix.php
		<http://wiki.typo3.org/wiki/UTF-8_support#Introduction>
		ggf. Zeile 97 - 107 auskommentieren
		stellt alle Tabellen auf utf8 um, Inhalte werden möglicherweise Truncated

8.) In Typo3 BE phpMyAdmin - Clear all Tables (Truncate)

9.) Import from .sql dump ohne Schema
		Ergänzen: use `typo3db`;

10.) Im Typo3 BE Clear all table Caches

11.) Reboot

You have to rebuild the reference index afterwards!

---

Quelle: „typo3 4.5.2 auf UTF-8 umstellen“, typo3.net, https://www.typo3.net/d/104879-typo3-452-auf-utf-8-umstellen
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
