Simple Machines Community Forum

SMF Development => Bug Reports => Topic started by: User2 on July 24, 2024, 12:24:52 PM

Title: The forum incorrectly cuts the topic title.
Post by: User2 on July 24, 2024, 12:24:52 PM
Hello. The forum incorrectly cuts the topic title.
Details in this topic: https://www.simplemachines.org/community/index.php?topic=581989.msg4144210#msg4144210


Moved to Bug Reports knowing it may be moved again to Fixed or Bogus Bugs. ~ Steve
Title: Re: The forum incorrectly cuts the topic title.
Post by: Irisado on July 25, 2024, 08:59:54 AM
Please could you explain what you are requesting.
Title: Re: The forum incorrectly cuts the topic title.
Post by: User2 on July 25, 2024, 09:03:39 AM
The problem is described here: https://www.simplemachines.org/community/index.php?topic=581989.msg4144210#msg4144210
If there are non-English characters in the subject and the length of the title is adjusted, then the title is distorted.
On another forum, I was told that SMF is not working properly.
Title: Re: The forum incorrectly cuts the topic title.
Post by: Kindred on July 25, 2024, 09:30:13 AM
Quote from: Irisado on July 25, 2024, 08:59:54 AMPlease could you explain what you are requesting.

Its been acknowledged as an actual bug, although the exact triggers are unusual and uncommon, therefore it is low priority.

This doesnt belong in feature requests
Title: Re: The forum incorrectly cuts the topic title.
Post by: shawnb61 on July 25, 2024, 10:35:35 AM
I don't think it was ever reported or logged as a bug. 

(I don't think it's a bug...)

I believe the SMF limits are tied to email limitations (any discussion on this was before I even heard of SMF...).  There are also layout concerns.

Increasing the subject length definitely causes email issues.

These email-related limitations are much tougher on multi-byte languages.

This is a design change, I think.  If we allow much longer subjects, we'll have to rework the email interface a bit.  And be prepared for some ugly layout.

Email isn't used by forum members as much as it was back in the day.  It may make sense to get rid of the limitations going forward. 

But the limitations will remain for email no matter what.  (See also: https://www.simplemachines.org/community/index.php?topic=589251.0)
Title: Re: The forum incorrectly cuts the topic title.
Post by: Diego Andrés on July 25, 2024, 11:16:21 AM
Quote from: User2 on July 25, 2024, 09:03:39 AMIf there are non-English characters in the subject and the length of the title is adjusted, then the title is distorted.
On another forum, I was told that SMF is not working properly.

It happens with any language when the 100 characters limit is exceeded.
Title: Re: The forum incorrectly cuts the topic title.
Post by: shawnb61 on July 25, 2024, 11:57:35 AM
Quote from: Diego Andrés on July 25, 2024, 11:16:21 AMIt happens with any language when the 100 characters limit is exceeded.

That 100-byte limit is more painful for multi-byte languages though, more like 50 or 60 characters in some cases.

You can only fit 29 4-byte chars in a subject line.