1

Topic: vs 2013. Comments flied.

Hello. After plug-in setting to vs (it is probable here it) all comments in Russian flied, i.e. turned in . How to correct a situation? In advance I thank.

2

Re: vs 2013. Comments flied.

Hello, Sharov, you wrote: S> After plug-in setting to vs (it is probable here it) all comments in Russian flied, S> i.e. turned in . How to correct a situation? "It is elementary, Watson" - delete a plug-in.

3

Re: vs 2013. Comments flied.

Hello, Nikita123, you wrote: N> "it is elementary, Watson" - delete a plug-in. Certainly did not help. The studio with Russian words offers  in codepage 1252 for some reason (save as with encoding). It was necessary  the converter from 1251 in utf8. The plug-in should be rehabilitated.

4

Re: vs 2013. Comments flied.

#region using System; using System. IO; using System. Text; #endregion namespace EncodingFix {internal class Program {#region Methods private static void Main (string [] args) {Encoding e1251 = Encoding. GetEncoding (1251);//new UTF8Encoding (false); Encoding utf8 = new UTF8Encoding (false); foreach (var f in new DirectoryInfo (Environment. CurrentDirectory).GetFiles ("*.cs", SearchOption. AllDirectories)) {string s = File. ReadAllText (f. FullName, e1251); Console. WriteLine ("Work on {0}", f. FullName); File. WriteAllText (f. FullName, s, utf8);//File. WriteAllText (f. FullName, s, Encoding. GetEncoding (65001));} Console. WriteLine ("Done"); Console. ReadLine ();} #endregion}}

5

Re: vs 2013. Comments flied.

Hello, Sharov, you wrote: S> Hello, Nikita123, you wrote: N>> "it is elementary, Watson" - delete a plug-in. S> Certainly did not help. The studio with Russian words offers  in codepage 1252 for some reason (save as with encoding). It was necessary  the converter from S> 1251 in utf8. The plug-in should be rehabilitated. I never understood the people, which to myself arrange problems and then them heroically overcome.

6

Re: vs 2013. Comments flied.

Hello, Nikita123, you wrote: N> I never understood the people, which to myself arrange problems and then them heroically overcome. Where I to myself suited problems? The coding of files of the project broke. Why? I do not know. Sinned on a plug-in, but it is visible matter is not in it.