LoginSignup
3
2

More than 5 years have passed since last update.

Visual Studio 2013 CommunityがUTF-8 BOMなしファイルの日本語コメントでエラーになる

Posted at

Cocos2d-xの書籍のサンプルコードを動かす際にWin32プロジェクトをVisual Studio 2013 Community(英語版)でビルドすると、日本語コメントがビルドエラーになることがあります。
buiderror.png
そういう時はソースコードがUTF-8のBOMなしになっているので、
UTF-8のBOM付きにするとビルドが通るようになります。
そういう時は、KanjiTranslatorを使ってソースコードを一括変換しています。
kanjiTranslator.jpg

3
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2