Question: I have a requirement in office online 365 in which following things are needed.

1. Calendar list with custom field "Events", type is choice (General,Marriage,Birthday)
2. Need to create a dropdown in which above field's value should bind.
3. When user select "General" then only General events should display, birthday and marriage should not display.
4. Main thing view should be only calendar and I have tried sharepoint list filter and list view webpart but calendar view is not supported.

Any help would be appreciated.

Answer: 
AFAIK, VC++ doesn't have a commandline flag to let you specify a UTF-8 execution character set. 
However it does (sporadically) support the undocumented

```
#pragma execution_character_set("utf-8")

```

referred to [here](http://connect.microsoft.com/VisualStudio/feedback/details/773186/pragma-execution-character-set-utf-8-didnt-support-in-vc-2012).

To get the effect of a commandline flag with this pragma you can write the pragma in a header
file, say, `preinclude.h` and pre-include this header in every compilation by passing
the flag `/FI preinclude.h`. See [this documentation](http://msdn.microsoft.com/en-us/library/8c5ztk84.aspx) 
for how to set this flag from the IDE.

The pragma was supported in VC++ 2010, then forgotten in VC++ 2012, and is supported again
in VC++ 2013
The Visual Studio 2015 Update 2 and later [supports setting the *execution character set*](https://blogs.msdn.microsoft.com/vcblog/2016/02/22/new-options-for-managing-character-sets-in-the-microsoft-cc-compiler/):

You can use the option `/utf-8` which combines the options `/source-charset:utf-8` and `/execution-charset:utf-8`. From the link above:

> 
> In those cases where BOM-less UTF-8 files already exist or where changing to a BOM is a problem, use the /source-charset:utf-8 option to correctly read these files.
> 
> 
> Use of /execution-charset or /utf-8 can help when targeting code between Linux and Windows as Linux commonly uses BOM-less UTF-8 files and a UTF-8 execution character set.
> 
> 
> 

`Project Properties/Configuration Properties/General/Character Set` only sets Macros Unicode/MBCS but not the *source character set* or *execution character set*.