Not a bug Adjust Case for Thread Titles Cant Handle Special Chars

Jaxel

Well-known member
I am using the "Title Case" option for this...

I want to name a thread:
[Feb 24, 2011] World Game Cup (06400 Cannes - France)

Instead it gets named:
[feb 24, 2011] World Game Cup (06400 Cannes - France)

The title casing should ignore the first bracket system and leave the F in Feb capitalized... but it doesnt.
 
This is mostly going to be down to the behavior of the built in ucwords() PHP function (though we use a UTF-8 compatible version). I'm not sure if it's worth writing a custom implementation to handle these cases as well.
 
This is mostly going to be down to the behavior of the built in ucwords() PHP function (though we use a UTF-8 compatible version). I'm not sure if it's worth writing a custom implementation to handle these cases as well.
Okay... well the thread title was automatically generated using my XenAtendo mod... is there a way to get the system to bypass the thread title limitations the same way you can bypass thread posting limitations?
 
PHP:
// init writer
$writer->setOption(XenForo_DataWriter_Discussion::OPTION_ADJUST_TITLE_CASE, false);
// set data and save
 
Top Bottom