TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

Die TYPO3 Mailingliste - nicht fragen: lesen!

[TYPO3] utf-8 - setDBinit doesn't solve everything (eg. charset oftables created by 'compare databse' tool)

This is a discussion on [TYPO3] utf-8 - setDBinit doesn't solve everything (eg. charset oftables created by 'compare databse' tool) within the typo3-english@lists.netfielders.de forums, part of the TYPO3-Mailinglists: ENGLISH category; Hi there I've just switched to full utf-8 model (including db). BTW I had to apply patch to ...


Zurück   TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv > TYPO3-Mailinglists: ENGLISH > typo3-english@lists.netfielders.de

Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren
  #1  
Alt 16.03.2007, 13:57
Amiran Chyb
Gast
 
Beiträge: n/a
Standard [TYPO3] utf-8 - setDBinit doesn't solve everything (eg. charset oftables created by 'compare databse' tool)

Hi there


I've just switched to full utf-8 model (including db). BTW I had to apply
patch to base64-encode cache hashes to prevent the "No template found!"
error (see: http://bugs.typo3.org/print_bug_page...ug_id=0005088).


But to the point:

I've added the following to setDBinit:
SET CHARACTER SET utf8;
SET NAMES utf8;
SET SESSION character_set_server=utf8;

but nevertheless, running COMPARE DATABASE tool from install tool creates
all tables and columns with latin1 charset (which is server-default - I
can't change that, and usually one cannot). Is it a problem of a compare
database tool not using the setdbinit commands, or maybe all new tables
creation in typo3 won't be affected by setDBinit settings (even if the
commands are fired at the beginning of a connection) and will have default
charset set?
If so, then maybe there's another mysql session variable responsible for
default charset of created tables?


thanks
Am
_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #2  
Alt 16.03.2007, 14:17
Amiran Chyb
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] utf-8 - setDBinit doesn't solve everything (eg. charsetof tables created by 'compare databse' tool)

On Fri, 16 Mar 2007 13:57:08 +0100, Amiran Chyb
<amiran.chyb (AT) stopspam (DOT) gmail.com> wrote:

> Hi there
>
>
> I've just switched to full utf-8 model (including db). BTW I had to
> apply patch to base64-encode cache hashes to prevent the "No template
> found!" error (see:
> http://bugs.typo3.org/print_bug_page...ug_id=0005088).
>
>
> But to the point:
>
> I've added the following to setDBinit:
> SET CHARACTER SET utf8;
> SET NAMES utf8;
> SET SESSION character_set_server=utf8;
>
> but nevertheless, running COMPARE DATABASE tool from install tool
> creates all tables and columns with latin1 charset (which is
> server-default - I can't change that, and usually one cannot). Is it a
> problem of a compare database tool not using the setdbinit commands, or
> maybe all new tables creation in typo3 won't be affected by setDBinit
> settings (even if the commands are fired at the beginning of a
> connection) and will have default charset set?
> If so, then maybe there's another mysql session variable responsible for
> default charset of created tables?




I've checked - new tables created by Typo (not by COMPARE tool but eg. by
adding new ext) have their charset set correctly as in setDBinit settings.
So is it the problem of Comparet Tool not using typo3 db api.


Am
_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
 

Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen

Thema Autor Forum Antworten Letzter Beitrag
[TYPO3-dev] Idea for DBAL, add a setDBinit for each database.. R. van Twisk typo3-dev@lists.netfielders.de 1 11.03.2007 17:49
[TYPO3] page:title in HMENU - how can be solve? Matyi Gábor typo3-english@lists.netfielders.de 1 15.02.2007 22:54
[TYPO3] show last created tt_news article dave typo typo3-english@lists.netfielders.de 4 13.02.2007 14:31
[TYPO3-german] Warnmeldung im Listmodul seit Compare Himmi typo3-german@lists.netfielders.de 0 28.01.2007 16:20
[TYPO3-dev] Creating automatic new content element,if new page has been created Tapio Markula typo3-dev@lists.netfielders.de 0 14.12.2006 18:54


Alle Zeitangaben in WEZ +1. Es ist jetzt 18:31 Uhr.


Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39