fix bug #2186: use fixed locale for toUpperCase to cope with
the http://mattryall.net/blog/2009/02/the-infamous-turkish-locale-bug