Dropping non-utf8 support in v11 or v12
Posted
#564
(In Topic #164)
0002515: Drop non-utf8 (non-unicode) support - Composr CMS feature tracker
Posted
What would be interesting is how many v9 and earlier installs are not using utf8. And of those, how many are not able to switch (and why?) to utf8 when moving to v10.
Posted
Why do I say no? Simple, you will lose a chunk of your users who do not want to go through the 'complicated' process of changing the characterset just to upgrade the CMS. Composr is not quite popular enough yet to not feel the hurt of it being dropped (or worse, ocPortal never being upgraded) just because the procedure to change charset isn't user friendly enough.
Some might say "Well if they can't do it themselves with the instructions posted, then maybe Composr isn't for them", but from what I can tell Composr is striving to become more user friendly, not less. The only not-so-user friendly part of the whole upgrade process from ocPortal 9 was the changing the charset to UTF. In fact, I decided not to do that and added the string for my test upgrade.
Posted
Posted
There is a MySQL command line command though that MIGHT work…
Code
DB="dbname"
(
echo 'ALTER DATABASE `'"$DB"'` CHARACTER SET utf8 COLLATE utf8_general_ci;'
mysql "$DB" -e "SHOW TABLES" --batch --skip-column-names \
| xargs -I{} echo 'ALTER TABLE `'{}'` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;'
) \
| mysql "$DB"
Of course since it uses xargs, that command would likely not work if the site is hosted on a windows server.
Posted
1 guest and 0 members have recently viewed this.
