Fullscreen
[Show/Hide Right Column]

Bugs & Wish list Help

View

View Item

Statusclosed closed
Rating -2 -1 0 1 2 (1) Help
Ticket ID 3571
Subject Installer in Tiki6 is not ensuring utf-8 in new db and tables (only on upgrade)
Resolution status Fixed
Submitted by xavi
Importance 8
Category Bug: Consistency
Tiki Version 6.x
Feature Installer (profiles, upgrades and server-related issues)
Description

If you install a brand new Tiki6 site, and your database was created with latin1 charset (by sys admin, phpmyadmin, by whatever means), Tiki doesn't warn you at installation time that the db is using latin1.

Only when you upgrade the Tiki6 site, tiki detects that db and tables are not utf-8, and allows converting them to utf-8.

This can be reproduced easily with the TikiLiveCD 0.6, which came (from a customized Slax GNU/Linuxd distro) with an empty db called "test" with latin1 charset, that is to be used for Tiki installation.
http://tiki.org/TikiLiveCD

Solution

ensure that tiki-install.php check for the charset/collation/whatever from the db to install the brand new tiki, and if not in utf-8, then convert it to utf-8 before creating the mysql tables



fixed in r30106 by jonnyb (thanks!)

Categories to be merged Release60
Lastmod by xavi
Created Friday 08 October, 2010 09:29:32 UTC
LastModif Wednesday 20 October, 2010 13:51:08 UTC
Comments
Attachments (0)

Attachments

 filenamecreatedfilesize 
No attachments for this item


Search Wishes (subject only) [toggle]

Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki development and should correspond to documentation keywords.

Each feature in Tiki has a wiki page which regroups all the bugs, requests for enhancements, etc. It is somewhat a form of wiki-based project management. You can also express your interest in a feature by adding it to your profile. You can also try out the Dynamic filter.