Click here for ucfirst function details.
For information on setting up the locale using the setlocale function, click here.