Hello,
I have come around a strange situation when using a unicode stringthat has non normalized characters. The attached script 'initcap.sql'can reproduce the problem.
The attached patch can fix the issue.
Regards,
Juan José Santamaría Flecha