Added correct narrowing conversion for unicode + c++11.