Installer in Tiki6 is not ensuring utf-8 in new db and tables (only on upgrade)
- Status
- Closed
- Subject
- Installer in Tiki6 is not ensuring utf-8 in new db and tables (only on upgrade)
- Version
- 6.x
- Category
- Consistency
- Feature
- Installer (profiles, upgrades and server-related issues)
- Resolution status
- Fixed or Solved
- Submitted by
- Xavier de Pedro
- Lastmod by
- Xavier de Pedro
- Rating
- 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!)- Importance
- 8
- Priority
- 40
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 3571
- Created
- Friday 08 October, 2010 09:29:32 UTC
by Xavier de Pedro - LastModif
- Wednesday 20 October, 2010 13:51:08 UTC