Dear Arup,

I don't know if this is the current answer.
I was just curious and googled a little and found this.

gem install unicode

#!/usr/bin/env ruby
#coding: utf-8

require 'unicode'

puts Unicode::capitalize("=E9cole")

Source: http://stackoverflow.com/questions/3724913/capitalize-first-letter-=
in-ruby

Abinoam Jr.

On Mon, Feb 3, 2014 at 7:49 PM, Arup Rakshit <lists / ruby-forum.com> wrote:
> Why #capitaize not working here as documented -
>
> Returns a copy of str with the first character converted to uppercase
> and the remainder to lowercase. **Note: case conversion is effective
> only in ASCII region.**
>
> (arup~>~)$ pry --simple-prompt
>>> s =3D "=E9cole"
> =3D> "=E9cole"
>>> s.capitalize
> =3D> "=E9cole"
>>>
>
> How to do this here?
>
> --
> Posted via http://www.ruby-forum.com/.