• You actually get a similar problem if you have a SQL file that's Unicode but without the proper Unicode byte-ordering mark at the beginning--that'll open in Notepad when you double-click it, rather than SSMS! Had that issue the other week.