Loading...
 

Encoding Fix Verification

Because changes to your Tiki database encoding can be confusing and difficult to troubleshoot problems it's best to do a few quick verification, after you have applied the three steps of the upgrade process to "fix the encoding issue" (if needed, see https://doc.tiki.org/Upgrade#Fix_the_encoding_issue) .

1.1. Verify local.php

This file stores the Tiki database connection information

  1. Open <Tiki Install Location>/db/local.php with your favorite text editor (vi, emacs, etc...)
  2. Verify client_charset is set to utf8
  3. update manually if incorrect


1.2. Verify Database

The database and its tables should have been updated to use the utf8 character set. Verifying the database involves querying the "information_schema" which is essentially the data dictionary for MySQL. So log in to MySQL using the Tiki schema (database) owner account to execute these queries.

1.2.1. Schema verification

This simple select lists characteristics for the database itself.

Schema Verification SQL
Copy to clipboard
select * from information_schema.schemata;
  1. Run the SQL
  2. Verify the "DEFAULT_CHARACTER_SET_NAME" for the Tiki schema is set to "utf8" and that "DEFAULT_COLLATION_NAME" is set to "utf8_general_ci"
  3. If these values are not as specified, run the below SQL:
Schema Correction SQL
Copy to clipboard
ALTER DATABASE {Tiki db_name} DEFAULT CHARACTER SET 'utf8' DEFAULT COLLATE 'utf8_general_ci';


1.2.2. Table verification

This simple select lists key characteristics for each table of the Tiki DB.

Table Verification SQL
Copy to clipboard
select table_name, table_collation from information_schema.tables where table_schema = '{Tiki db_name}';
  1. Run the SQL
  2. Verify "table_collation" is set to "utf_general_ci"
  3. Run the below SQL for each table not set correctly
Table Correction SQL
Copy to clipboard
ALTER TABLE {Tiki db_name}.{Table Name} CONVERT TO CHARACTER SET 'utf8' COLLATE 'utf8_general_ci' DEFAULT CHARACTER SET 'utf8' COLLATE 'utf8_general_ci';

1.2.3. Content verification

You need to be sure that the content in your database has been converted to utf-8. If you had non as-cii characters in your wiki pages, it's very easy to verify if you had your db tables content converted to utf-8 or not.

If you see weird characters instead of non-ascii characters like accents, tilde, apostrophes, etc, then your content is not in utf-8. In this case, you can apply the fix from the installer in the last step.

Check https://doc.tiki.org/Upgrade#Fix_the_encoding_issue .

If you were using plain English in your wiki pages, then ask for help in the Irc channel, for instance.


Created by Steve. Last Modification: Sunday 11 August, 2019 04:46:19 GMT-0000 by Yves Kipondo.

doc.tiki.org

Get Started

Admin Guide User Guide

Keywords

Keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):

Accessibility (WAI and 508)
Accounting
Articles and Submissions
Backlinks
Banners
Batch
BigBlueButton audio/video/chat/screensharing
Blog
Bookmark
Browser Compatibility
Link Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts (Address Book)
Contact us
Content Templates
Contribution
Cookie
Copyright
Credit
Custom Home and Group Home Page
Date and Time
Debugger Console
Directory of hyperlinks
Documentation link from Tiki to doc.tiki.org (Help System)
Docs
Draw
Dynamic Content
Dynamic Variable
External Authentication
FAQ
Featured links
File Gallery
Forum
Friendship Network (Community)
Gmap Google maps
Groups
Hotword
HTML Page
i18n (Multilingual, l10n)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
Kaltura video management
Karma
Live Support
Login
Logs (system & action)
Look and Feel
Mail-in
Map with Mapserver
Menu
Meta Elements
Mobile Tiki and Voice Tiki
Module
MultiTiki
MyTiki
Newsletter
Notepad
Payment
Performance Speed / Load
Permissions
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Polls
Profiles
Profile Manager
Report
Toolbar
Quiz
Rating
Feeds
Score
Search engine optimization
Search
Search and Replace
Security
Semantic links
Shadowbox
Shadow Layers
Share
Shopping cart
Shoutbox
Slideshow
Smiley
Social Networks
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
Tags
Task
Tell a Friend, alert + Social Bookmarking
TikiTests
Theme CSS & Smarty
Tiki Manager
Trackers
Transitions
User Administration including registration and banning
User Files
User Menu
Watch
WebDAV
Webmail
Web Services
Wiki History, page rename, etc
Wiki Syntax
Wiki structure (book and table of content)
Workspace
WSOD
WYSIWYCA
WYSIWYG
XMLRPC

Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki