msbuild - How to make VS2015 represent charachters in C# in another codepage? -


i'm looking instruction how make visual studio 2015 compile , run code such internal representation of characters in ebcdic codepage. (so when debugging can see char[] values in ebcdic encoding.)

is possible?

i found following hints on how achieve none seems work, why? missing?

  • set environment variable of os codepage 1141.
  • saved code files in encoding.
  • in app.config added following under <configuration> tag:

    <compiler   language="c#;cs;csharp"   extension=".cs"   type="consoleapplication1.program, consoleapplication1"   compileroptions="/codepage:1141" /> 
  • in .csproj file added <codepage>1141</codepage> under <propertygroup> tag.
  • i tried compile msbuild.exe using /p:codepage=1141, expect when inspecting resulting project exe char constants can found ebcdic encoding didn't hold either.

if achieve configure right expect program output 40 instead of 32.

thank hints!


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -