I think the only unicode format supported for the moment is UTF-8, so you must choose "Unicode (UTF-8 with signature) - Codepage 65001" form the advance save menu item. This seems to work okay with non ascii characters for me under VS 2008, I tested with the following snippet:

1
2
3
open Microsoft.FSharp.Quotations.Typed

let thing = « 1 + 1 »
By on 1/14/2008 9:08 PM ()

I have been doing the Euler Project stuff to practice my F# and what I do is paste the problem into the code file as a comment. Well one of the ones I did had some unicode chars there and visual studio prompted me to save in unicode.

The thing I would recommend though is that visual studio be a little more clear as to what the problem is as all I got was 'Build failed'. Took me some time troubleshooting and then I remembered that I had saved that particular file in unicode.

By on 1/16/2008 4:06 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper