Capitilize each with Turkish characters capitalize the letter after special character

I built a form using Tripetto to collect some names. Naturally I'd like each word of names to be capitalized. However when testing I realized if I input Turkish characters, the letter following the special character gets capitalized.

For example:

Input: Kazım Uzdoğan     Output: KazıM UzdoğAn

Input: Kazim Uzdogan     Output: Kazim Uzdogan