fix #3946 (strings test error on windows)