Austin Ziegler wrote: > On 6/27/06, Daniel Berger <djberg96 / gmail.com> wrote: >> Maybe I should fork a version of Ruby tailored specifically to Windows. >> I'll replace all char pointer declarations with tchar pointers, set >> MBCS, and automatically convert all strings to wide strings using >> MultiByteToWideChar() behind the scenes, using whatever code page they >> want, defaulting to CP_UTF8. >> >> Right after I get my VC funding. ;) > > Trust me. You don't want to do that. TCHAR with -DUNICODE is pure evil. > > -austin Well, it would be -DMBCS. ;) I cannot even begin to imagine what changes would be required for the regex engine. - Dan