escaping chars within clipboard update focus function