warning C4819的處理

warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss

選擇 File>Advanced Save Options => Encoding: Unicode (UTF-8 with signature) – Codepage 65001

要選有BOM的 如果選到 UTF-8 without signature warning一樣會出現

或是改system locale => English
參考
https://stackoverflow.com/questions/10501634/warning-c4819-how-to-find-the-character-that-has-to-be-saved-in-unicode

This entry was posted in Tips. Bookmark the permalink.

Leave a Reply