1

I have downloaded the source code of spring.Net from Github. When I open cs file of project, I saw the prompts 'some bytes have been replaced with the unicode substitution character while loading file XXX.cs with Chinese Simplified(GB2312) encoding. Saving the file will not preserve the original file contents' like this picture enter image description here

I don't want to save all the file one by one, how can I deal with this problem?

2
  • Can you show your code for the saving??
    – Blaatz0r
    Feb 13, 2015 at 7:16
  • Either convert all files to utf8 before loading them, or use AppLocale to run VS with the same legacy encoding the original author used. Perhaps VS even has a setting to choose the legacy encoding. Feb 13, 2015 at 7:35

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.