comment subject line is too short for multibyte languages

Created on 20 June 2005, almost 19 years ago
Updated 16 January 2024, 5 months ago

For multibyte languages (in this case malayalam), the length of the comment subject line is too short and truncates the subject line. A fix to increase the length of subject fiels is as follows:

The length of th esubject line is defined in the comment table:

subject varchar(64) NOT NULL default '',

You can use phpmyqdmin or the mysql commandline to change this to something higher. Maximum is 255.

You will maybe also need to increase the number of chars you can put into the forms. Look for form_textfield in comment.module.

This problem exists for 4.6.* versions also.

Thanks Gerhard Killesreiter for the above fix!

✨ Feature request
Status

Needs work

Version

11.0 🔥

Component
Comment  →

Last updated 2 days ago

Created by

🇮🇳India mkpaul

Live updates comments and jobs are added and updated live.
  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024