Filtering, or something. It's easier than doing language detection. Maybe we can get language-extension mappings from Notepad++ too.