Windows Vista Beta | WinVistaBeta.com - Message | How can I prevent VS 2008 from saving files in UTF-8 encoding?

July 19, 2008  
Subject: How can I prevent VS 2008 from saving files in UTF-8 encoding?
Group: microsoft.public.vstudio.general
Date: 5/8/2008 2:25:04 PM
From: =?Utf-8?B?RGF2ZSBIZXJybWFubg==?= [Email Address Protection]

When I add a new file to a VS 2008 project, it saves it to disk using UTF-8
encoding. I can change this by using the Advanced Save As File menu item, but
I would prefer to configure my VS 2008 to save files in Western Europe
(Windows) encoding (code page 1252) by default. I could not see any Option
settings that would allow for this.

Is there a way to configure VS 2008 to save files using an encoding other
than UTF-8 by default?

Thanks for any help.

-Dave

Back
Subject: Re: How can I prevent VS 2008 from saving files in UTF-8 encoding?
Group: microsoft.public.vstudio.general
Date: 5/9/2008 1:04:41 AM
From: "Serge Wautier" [Email Address Protection]

Weird. Mine defaults to 1252 (My user locale is French/Belgium).
What type of file are you creating (.cpp, .cs, .xml,...) ?

Serge.
http://www.apptranslator.com - Localization tool for your C++ applications


"Dave Herrmann" <DaveHerrmann@discussions.microsoft.com> wrote in message
news:958875AC-1AE3-4D42-A928-B15CA2654BE0@microsoft.com...
> When I add a new file to a VS 2008 project, it saves it to disk using
> UTF-8
> encoding. I can change this by using the Advanced Save As File menu item,
> but
> I would prefer to configure my VS 2008 to save files in Western Europe
> (Windows) encoding (code page 1252) by default. I could not see any Option
> settings that would allow for this.
>
> Is there a way to configure VS 2008 to save files using an encoding other
> than UTF-8 by default?
>
> Thanks for any help.
>
> -Dave


Back