Wow, thanks. Didn't expect it to be part of infra, never would have looked there.
        protected static string Sanitize(string input)
        {
            if (string.IsNullOrEmpty(input)) return input;
            return
                new string(
                    input.ToCharArray()
                        .Where(c => (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || c ==' ' || (c == '-') || (c == '?') || (c == '!'))
                        .ToArray());
        }
What would be the danger of changing the whole thing to just
        protected static string Sanitize(string input)
        {
            return input;
        }
..? I mean, yeah, remove it altogether.
Being that it's TTS-specific, I really don't understand the purpose of not allowing everything and the kitchen sink to be passed to the TTS engine. Do I need to open a ticket for Licho to look at it or something?


 Anagram
Anagram: Recorded voice always sounds better, IMO. Especially if you have a cute accent...