开发者

Changing The Encoding Type Of A C# File?

开发者 https://www.devze.com 2023-02-13 17:58 出处:网络
I\'m making an SVN patch for a .cs file and I\'m having a little trouble.After making the patch, 开发者_JS百科all I can see in my text editor is a bunch of gobble-dee-goop.A lot of unrecognized charac

I'm making an SVN patch for a .cs file and I'm having a little trouble. After making the patch, 开发者_JS百科all I can see in my text editor is a bunch of gobble-dee-goop. A lot of unrecognized characters and all of that. I'm wondering if there's a way to change the encoding type to fix this problem (so I can see and apply the patches).

Thanks!


If you are using Visual Studio: (with that file active) File, Advanced Save Options

Changing The Encoding Type Of A C# File?


If you have Notepad++, it has various encoding switching options.

Changing The Encoding Type Of A C# File?


Joel's: What every developer should know about Unicode. Although not a direct answer to your question, this is a helpful resource that addresses the what's and why's:)

0

精彩评论

暂无评论...
验证码 换一张
取 消