<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — SOGo full utf8 support]]></title>
		<link>https://forum.iredmail.org/topic20648-sogo-full-utf8-support.html</link>
		<atom:link href="https://forum.iredmail.org/feed-rss-topic20648.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in SOGo full utf8 support.]]></description>
		<lastBuildDate>Fri, 25 Oct 2024 01:16:56 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: SOGo full utf8 support]]></title>
			<link>https://forum.iredmail.org/post89754.html#p89754</link>
			<description><![CDATA[<p>By the way, i wonder whether converting the whole table (instead of each columns) to utf8mb4 is enough?<br /></p><div class="quotebox"><blockquote><p>ALTER TABLE&nbsp; XXX CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;</p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Fri, 25 Oct 2024 01:16:56 +0000</pubDate>
			<guid>https://forum.iredmail.org/post89754.html#p89754</guid>
		</item>
		<item>
			<title><![CDATA[Re: SOGo full utf8 support]]></title>
			<link>https://forum.iredmail.org/post89753.html#p89753</link>
			<description><![CDATA[<div class="quotebox"><cite>Hespul webmestre wrote:</cite><blockquote><p>- Is there a plan to fix this in a near future ? and if yes, when ?</p></blockquote></div><p>SOGo team closed the ticket without a future plan: <a href="https://bugs.sogo.nu/view.php?id=5630">https://bugs.sogo.nu/view.php?id=5630</a><br />No plan to fix it shortly: iRedMail installer creates the sql database but not the sql tables, SQL tables are generated automatically by SOGo itself while launching first time.</p><p>I suggest opening a new ticket in SOGo bug tracker to ask them to offer a shell/sql/... script to handle this, officially.<br /></p><div class="quotebox"><cite>Hespul webmestre wrote:</cite><blockquote><p>- What happen if I fix things myself now, and an update provides another fix later ?</p></blockquote></div><p>These SQL tables won&#039;t be dropped and re-created during package update, so you&#039;re safe.<br /></p><div class="quotebox"><cite>Hespul webmestre wrote:</cite><blockquote><p>- The backup_mysql.sh script set --default-character-set variable to utf8, it seems to be a good idea to convert all database to utf8mb4, then change this value to utf8mb4, no ?</p></blockquote></div><p>You&#039;re correct. Make sure you&#039;re using the same character set on server side and client side.<br />We experienced same issue with Postfix last week (utf vs utf8mb4).<br /></p><div class="quotebox"><cite>Hespul webmestre wrote:</cite><blockquote><p>- Is there any other side effect that I did not find ?</p></blockquote></div><p>No side effects as far as i know.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Fri, 25 Oct 2024 01:15:51 +0000</pubDate>
			<guid>https://forum.iredmail.org/post89753.html#p89753</guid>
		</item>
		<item>
			<title><![CDATA[SOGo full utf8 support]]></title>
			<link>https://forum.iredmail.org/post89750.html#p89750</link>
			<description><![CDATA[<p>==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====<br />- iRedMail version (check /etc/iredmail-release): 2024071701 (Backend: openldap, Date: 2024-07-31 09:19:43)<br />- Deployed with iRedMail Easy or the downloadable installer? iRedMail Easy<br />- Linux/BSD distribution name and version: Debian 11.7<br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP<br />- Web server (Apache or Nginx): Nginx<br />- Manage mail accounts with iRedAdmin-Pro? iRedAdmin-Pro<br />- [IMPORTANT] Related original log or error message is required if you&#039;re experiencing an issue.<br />====</p><p>Hi,</p><p>It’d like to fix the more and more frequently seen error in sogo that appears when users use extended UTF-8 characters like emoticons in event’s title or description.<br />The fix requires converting the sogo database to utf8mb4. More info can be found on sogo’s mantis id=5630</p><p>I’ve start to work on an action plan ( find it at the end of the post). And then a few questions appears : <br />- Is there a plan to fix this in a near future ? and if yes, when ?<br />- What happen if I fix things myself now, and an update provides another fix later ?<br />- The backup_mysql.sh script set --default-character-set variable to utf8, it seems to be a good idea to convert all database to utf8mb4, then change this value to utf8mb4, no ?<br />- Is there any other side effect that I did not find ?</p><p> Action plan :<br />*** Convert SOGo database to utf8mb4<br />alter database sogo character set utf8mb4 COLLATE utf8mb4_general_ci;</p><p>***** sogo_acl table<br />SHOW FULL COLUMNS FROM sogo_acl;<br />ALTER TABLE sogo_acl MODIFY c_object varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_acl MODIFY c_uid varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_acl MODIFY c_role varchar(80) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;</p><p>***** sogo_admin table<br />SHOW FULL COLUMNS FROM sogo_admin;<br />ALTER TABLE sogo_admin MODIFY c_key varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_admin MODIFY c_content mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;</p><p>***** sogo_alarms_folder<br />SHOW FULL COLUMNS FROM sogo_alarms_folder;<br />ALTER TABLE sogo_alarms_folder MODIFY c_path varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_alarms_folder MODIFY c_name varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_alarms_folder MODIFY c_uid varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;</p><p>***** sogo_cache_folder<br />SHOW FULL COLUMNS FROM sogo_cache_folder;<br />ALTER TABLE sogo_cache_folder MODIFY c_uid varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_cache_folder MODIFY c_path varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_cache_folder MODIFY c_parent_path varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_cache_folder MODIFY c_content longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;</p><p>***** sogo_folder_info<br />SHOW FULL COLUMNS FROM sogo_folder_info ;<br />ALTER TABLE sogo_folder_info MODIFY c_path varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_folder_info MODIFY c_path1 varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_folder_info MODIFY c_path2 varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_folder_info MODIFY c_path3 varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_folder_info MODIFY c_path4 varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_folder_info MODIFY c_foldername varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_folder_info MODIFY c_location varchar(2048) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_folder_info MODIFY c_quick_location varchar(2048) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_folder_info MODIFY c_acl_location varchar(2048) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_folder_info MODIFY c_folder_type varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;</p><p>***** sogo_quick_appointment<br />SHOW FULL COLUMNS FROM sogo_quick_appointment ;<br />ALTER TABLE sogo_quick_appointment MODIFY c_name varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_quick_appointment MODIFY c_uid varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_quick_appointment MODIFY c_title varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_quick_appointment MODIFY c_participants text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_quick_appointment MODIFY c_cycleinfo text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_quick_appointment MODIFY c_location varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_quick_appointment MODIFY c_orgmail varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_quick_appointment MODIFY c_partmails text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_quick_appointment MODIFY c_partstates text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_quick_appointment MODIFY c_category varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_quick_appointment MODIFY c_component varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_quick_appointment MODIFY c_description text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;</p><p>***** sogo_quick_contact<br />SHOW FULL COLUMNS FROM sogo_quick_contact ;<br />ALTER TABLE sogo_quick_contact MODIFY c_name varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_quick_contact MODIFY c_givenname varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_quick_contact MODIFY c_cn varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_quick_contact MODIFY c_sn varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_quick_contact MODIFY c_screenname varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_quick_contact MODIFY c_l varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_quick_contact MODIFY c_mail text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_quick_contact MODIFY c_o varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_quick_contact MODIFY c_ou varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_quick_contact MODIFY c_telephonenumber varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_quick_contact MODIFY c_categories varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_quick_contact MODIFY c_component varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;</p><p>***** sogo_sessions_folder<br />SHOW FULL COLUMNS FROM sogo_sessions_folder ;<br />ALTER TABLE sogo_sessions_folder MODIFY c_id varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_sessions_folder MODIFY c_value varchar(4096) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;</p><p>***** sogo_store<br />SHOW FULL COLUMNS FROM sogo_store ;<br />ALTER TABLE sogo_store MODIFY c_name varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_store MODIFY c_content mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;</p><p>***** sogo_user_profile<br />SHOW FULL COLUMNS FROM sogo_user_profile ;<br />ALTER TABLE sogo_user_profile MODIFY c_uid varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_user_profile MODIFY c_defaults text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br />ALTER TABLE sogo_user_profile MODIFY c_settings text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;</p>]]></description>
			<author><![CDATA[null@example.com (Hespul webmestre)]]></author>
			<pubDate>Thu, 24 Oct 2024 13:45:06 +0000</pubDate>
			<guid>https://forum.iredmail.org/post89750.html#p89750</guid>
		</item>
	</channel>
</rss>
