Here I have created sample that make titleCase of entered text(Russian) will help you out.
HTML
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<script type="text/javascript">
function SetFirstCapital() {
var oldString = document.getElementById('txtRussianValue').value;
var titleCase = oldString.replace(/([a-z])([A-Z])/g, function (allMatches, firstMatch, secondMatch) {
return firstMatch + " " + secondMatch;
}).toLowerCase().replace(/([ -_]|^)(.)/g, function (allMatches, firstMatch, secondMatch) {
return (firstMatch ? " " : "") + secondMatch.toUpperCase();
});
alert(titleCase);
}
</script>
</head>
<body>
Enter Russian Text :
<input type="text" id="txtRussianValue" value=" " />
<br />
<br />
<input type="button" value="Get Value" onclick="SetFirstCapital()" />
</body>
</html>
Demo
Input text: ушанбе.
Output text: Ушанбе.