how to restore old sources with Windows characters
-
Hello! I opened a old project and some source files with VS . If the files was written with Windows characters eg. "Windows: Western" an alert said that this file is now restored. But the characters with codes above x7f are marked as unknown characters. Do somebody know a tool to convert such files to Unicode without loss of the meaning of such characters? Thank you Erhy
-
Hello! I opened a old project and some source files with VS . If the files was written with Windows characters eg. "Windows: Western" an alert said that this file is now restored. But the characters with codes above x7f are marked as unknown characters. Do somebody know a tool to convert such files to Unicode without loss of the meaning of such characters? Thank you Erhy
You can use Notepad++ to convert a file to a different codepage. And next time you have a question, there are better forums than the Lounge for that.
Wrong is evil and must be defeated. - Jeff Ello
-
You can use Notepad++ to convert a file to a different codepage. And next time you have a question, there are better forums than the Lounge for that.
Wrong is evil and must be defeated. - Jeff Ello
I need a tool which searches for sources and other text files and convert them to Unicode with BOM, and leave the modification time. I think, the new convention, where text files without BOM are processed as UTF-8 encoded will cause much work for million of peoples. Erhy
-
I need a tool which searches for sources and other text files and convert them to Unicode with BOM, and leave the modification time. I think, the new convention, where text files without BOM are processed as UTF-8 encoded will cause much work for million of peoples. Erhy
As Jorgen suggest, try Notepad++ - it can be used from the command line. Or write a python script or powershell etc. A simple search came up with - Notepad++ Open file, change encoding and save from command line - Stack Overflow[^] - Converting text file to UTF-8 on Windows command prompt - Super User[^]
-
As Jorgen suggest, try Notepad++ - it can be used from the command line. Or write a python script or powershell etc. A simple search came up with - Notepad++ Open file, change encoding and save from command line - Stack Overflow[^] - Converting text file to UTF-8 on Windows command prompt - Super User[^]
-
You can use Notepad++ to convert a file to a different codepage. And next time you have a question, there are better forums than the Lounge for that.
Wrong is evil and must be defeated. - Jeff Ello
-
Do you know, how to detect old Windows coded text files? How Visual Studio detect them? Thank you for advice Erhy
I usually just simply open them in vanilla notepad and check what encoding it autodetected. This autodetection isn't perfect though, but still one of the best. VS also has an autodetect built in. I don't know how it works though.
Wrong is evil and must be defeated. - Jeff Ello
-
I usually just simply open them in vanilla notepad and check what encoding it autodetected. This autodetection isn't perfect though, but still one of the best. VS also has an autodetect built in. I don't know how it works though.
Wrong is evil and must be defeated. - Jeff Ello