Encoding: Add setlocale() to applications.
Merge topic 'setlocale' into next

d1146117 Encoding: Add setlocale() to applications.