xbmc/xbmc — pull request #3403 by Karlson2k (2013-10-08 21:59:12+00:00)
Title: StringUtils: fix TrimLeft and TrimRight functions with UTF-8 strings

TrimLeft and TrimRight functions failed with UTF-8 strings at least on Win32. When dereferencing std::string::iterator through not(ptf_fun(isspace())) value converted to int as signed char (isspace declared as "int isspace(int)").