How can I use str.title with another language?
<p>I am using this code block:</p>

<pre><code>&gt;&gt;&gt; import re
&gt;&gt;&gt; def titlecase(s):
...     return re.sub(r"[A-Za-z]+('[A-Za-z]+)?",
...                   lambda mo: mo.group(0)[0].upper() +
...                              mo.group(0)[1:].lower(),
...                   s)
...
&gt;&gt;&gt; titlecase("they're bill's friends.")
"They're Bill's Friends."
</code></pre>

<p>It's from Python's documentation. </p>

<p>If the string includes a Turkish character like 'ö', string becomes </p>

<p>'BöRek'. What should I write in order to support all languages?</p>
