mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #30619
[Bug 1509874] [NEW] Incorrectly truncated message in "inbox" block
Public bug reported:
In the template file for "inbox" block, we use dwoo modifier "truncate".
It does not care about multibyte character, and results in unnecessary
garbage on the tail of truncated messages. Please see the attached
image file.
I thins it's good idea to make a multibyte version of "truncate", and
use it in Mahara source. Please see the following article.
http://www.guyrutenberg.com/2007/12/04/multibyte-string-truncate-
modifier-for-smarty-mb_truncate/
--
- exact version of Mahara: 1.10.0 to 15.10.0
- operating system: Linux
- database: Postgres
- browser and version: Safari 9.0.1
** Affects: mahara
Importance: Undecided
Status: New
** Tags: multibyte
** Attachment added: "unnecessary garbage on the tail of truncated messages"
https://bugs.launchpad.net/bugs/1509874/+attachment/4504964/+files/truncate.png
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1509874
Title:
Incorrectly truncated message in "inbox" block
Status in Mahara:
New
Bug description:
In the template file for "inbox" block, we use dwoo modifier
"truncate". It does not care about multibyte character, and results
in unnecessary garbage on the tail of truncated messages. Please see
the attached image file.
I thins it's good idea to make a multibyte version of "truncate", and
use it in Mahara source. Please see the following article.
http://www.guyrutenberg.com/2007/12/04/multibyte-string-truncate-
modifier-for-smarty-mb_truncate/
--
- exact version of Mahara: 1.10.0 to 15.10.0
- operating system: Linux
- database: Postgres
- browser and version: Safari 9.0.1
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1509874/+subscriptions
Follow ups
-
[Bug 1509874] Re: Incorrectly truncated message in "inbox" block
From: Kristina Hoeppner, 2016-04-29
-
[Bug 1509874] Re: Incorrectly truncated message in "inbox" block
From: Robert Lyon, 2015-11-27
-
[Bug 1509874] A change has been merged
From: Mahara Bot, 2015-11-27
-
[Bug 1509874] Re: Incorrectly truncated message in "inbox" block
From: Robert Lyon, 2015-11-27
-
[Bug 1509874] Re: Incorrectly truncated message in "inbox" block
From: Robert Lyon, 2015-11-27
-
[Bug 1509874] Re: Incorrectly truncated message in "inbox" block
From: Robert Lyon, 2015-11-27
-
[Bug 1509874] A change has been merged
From: Mahara Bot, 2015-11-27
-
[Bug 1509874] A change has been merged
From: Mahara Bot, 2015-11-27
-
[Bug 1509874] Re: Incorrectly truncated message in "inbox" block
From: Aaron Wells, 2015-11-27
-
[Bug 1509874] Re: Incorrectly truncated message in "inbox" block
From: Robert Lyon, 2015-11-27
-
[Bug 1509874] A change has been merged
From: Mahara Bot, 2015-11-26
-
[Bug 1509874] Re: Incorrectly truncated message in "inbox" block
From: Aaron Wells, 2015-11-26
-
[Bug 1509874] A patch has been submitted for review
From: Mahara Bot, 2015-11-26
-
[Bug 1509874] A patch has been submitted for review
From: Mahara Bot, 2015-11-26
-
[Bug 1509874] A patch has been submitted for review
From: Mahara Bot, 2015-11-26
-
[Bug 1509874] Re: Incorrectly truncated message in "inbox" block
From: Aaron Wells, 2015-11-26
-
[Bug 1509874] A patch has been submitted for review
From: Mahara Bot, 2015-11-26
-
[Bug 1509874] Re: Incorrectly truncated message in "inbox" block
From: Aaron Wells, 2015-11-26
-
[Bug 1509874] Re: Incorrectly truncated message in "inbox" block
From: Robert Lyon, 2015-10-28