• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Not a bug Improper Title Case


Well-known member
If you set the Title Case option in XenForo options, words containing the "-" character are malformed.
If I'm not mistaken, all title sentences containing a - should be formatted Upper case.

Example: Off-Topic, not Off-topic.


XenForo developer
Staff member
The title case option is just an option that sets the first character in each word to upper case (using ucwords). There isn't any intention to go to any further detail.


Well-known member
That should do it @Mike:
$ php -r 'var_dump(mb_convert_case("off-topic TITLE", MB_CASE_TITLE, "UTF-8"));'
string(9) "Off-Topic Title"
Thanks for implementing this.