c# - no data is available for encoding 1252 -


i have strange problem didnt expect.

i have custom dll usercontrol (for winforms), built .net4 vs2010 in windows 7.

this usercontrol has public property of class system.text.encoding.

i wrote own typeconverter it, available choose encoding property grid @ design-time.

and got problem under win8 (win7 - no error).

at win8 have default encoding western europe (1252). when try build simplest winforms app (only form , usercontrol dll on it)

i receive build error message in header form1.resx:

invalid resx file. type in data @ line 135, position 5, cannot loaded because threw following exception during construction: no data available encoding 1252.

doesnt matter if chose encoding before build, again received same message.

even when removed 1252 list, changed utf8 whenever encoding class used still receive same message.

what workaround can propose ? want property public, dont want remove it, , want chosen encoding saved resx or in way.

at win7 didnt have such problem , didnt expect have @ win8.

thanks


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -